realm-js icon indicating copy to clipboard operation
realm-js copied to clipboard

Run React Native integration tests in more configurations

Open kraenhansen opened this issue 1 year ago • 2 comments

In the context of https://github.com/reactwg/react-native-new-architecture/discussions/167#discussioncomment-9056655 I suggest we start running our integration tests with different values for "hermes", "new arch" and "bridgeless". Since this adds complexity, multiplying the risk of some test failing as a result of any unstable test, running these additional tests should probably require a manual dispatch or a special label on the PR.

These configurations can be controlled by setting different values of the environment variables declared here (seems we're missing bridgeless for iOS):

https://github.com/realm/realm-js/blob/2e31a271da0cec07274e52ee97691531bc1039dd/integration-tests/environments/react-native-test-app/package.json#L30-L41

https://github.com/realm/realm-js/blob/2e31a271da0cec07274e52ee97691531bc1039dd/integration-tests/environments/react-native-test-app/package.json#L88-L95

kraenhansen avatar Apr 10 '24 10:04 kraenhansen

➤ PM Bot commented:

Jira ticket: RJS-2797

sync-by-unito[bot] avatar Apr 10 '24 10:04 sync-by-unito[bot]

This draft PR is somewhat related: https://github.com/realm/realm-js/pull/5369

kraenhansen avatar Apr 10 '24 10:04 kraenhansen