Introducing the React Native Nightly testing program 🌑🌓🌔🌕🌖🌗 #931
Replies: 3 comments 2 replies
-
Great to see the effort to improve coverage for third-party libraries! I'm not a maintainer of this library, but I'd love to see react-native-firebase added. It meets the listed requirements and seems like a great fit because:
Side question for my own curiosity: is this related to the recent move of a lot of the nightly testing infrastructure to an RNC repo (i.e. to provide the CI headroom needed for testing additional third-party libraries)? |
Beta Was this translation helpful? Give feedback.
-
From a quick glance it looks like it wouldn't be too hard for libraries to run the action themselves 🤞 We tried doing something similar with our install tests at Realm, which ultimately ends up breaking as React Native moves along: The main benefit of having someone else maintain the action / workflow (as a library author) is lower likelihood of the workflow breaking because of a reason not related to the lib and then the workflow turning into a pile of unmaintained bit rot. (We also chatted about this in person, but wanted to leave this as a comment for transparency too) |
Beta Was this translation helpful? Give feedback.
-
Thank you! I am in ❤️ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
tl;dr: If you're a library maintainer, you can now sign up to be part of our nightly testing to make sure your library will keep on working
Hey all,
We’d like to introduce the React Native Nightly testing program:
react-native-community.github.io/nightly-tests
What is the Nightly testing program
Every night, a new version of
react-native@nightly
is published.We then use that nightly version to run automated GitHub Actions workflows for testing some ecosystem libraries against that nightly build.
This allows us to catch breaking changes early on, and ensures that popular libraries keep on working across different React Native versions.
The jobs are running from this repository https://github.com/react-native-community/nightly-tests/ daily every night at 4:15 AM UTC using a GitHub Actions scheduled workflows.
The jobs essentially:
The result of the build is reported in the result website as a 🟢 or 🔴 and let us monitor if libraries broke across the ecosystem:
How to join the Nightly testing program
We already have a list of libraries that we hand picked, but we’re looking into adding more libraries to expand our coverage.
At this stage we’re looking for libraries that are:
If your libraries satisfies those requirements, please add your libraries by sending us a Pull Request that edits the
libaries.json
file as follows:description
: This is a general description of the library just to know what the library does.installCommand:
This is the command used by theyarn add <...>
command@nightly
and@beta
suffix, so we’ll test against the latest version"installCommand": "react-native-reanimated@nightly react-native-worklets@nightly"
android
andios:
these are used to toggle if the test on Android or iOS should be executedmaintainersUsernames:
this is used to have an array of GitHub usernames. We will use it in the future to communicate with library maintainers (e.g. ping for build failures). Currently unusednotes:
these are notes about the state of the library, i.e. build currently broken due to a specific reason.—
We hope this initiative will help us improve the stability of the ecosystem and ensure higher compatibility with future releases.
Nicola – for the release crew of React Native.
Beta Was this translation helpful? Give feedback.
All reactions