Add per-platform CI jobs to enable Windows tests, multiple Node.js versions #885
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
Enables Windows test runs in CircleCI. Partially resolves this discussion: #876 (comment).
test-windows
job via thecircleci/windows
orb (inspired by the main react-native repo CircleCI config).test-linux
job continues to use fastcimg/node
images.node-version
on thetest-linux
andtest-windows
jobs, and assigns as a matrix of versions (remains a single run against14.17.0
for now).yarn_run
command in favour of YAML anchor to explicitly mix in&secure_unset_publish_token
behaviour using CircleCI'senvironment
option, which is cross platform (see test plan).NOTE: Since Windows tests are failing en masse, the branch filter
only: /windows\/.*/
is added, effectively disabling this job except onwindows/
-prefixed branches (which will provide a hook for fixing these in future).https://app.circleci.com/pipelines/github/huntie/metro/9/workflows/2d5be9e2-40bf-4dc1-a450-621656f3cfc4/jobs/25
Changelog: [Internal]
Differential Revision: D40805193