Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add per-platform CI jobs to enable Windows tests, multiple Node.js ve…
…rsions (#885) Summary: Pull Request resolved: #885 Enables Windows test runs in CircleCI. Partially resolves this discussion: #876 (comment). - Adds `test-windows` job via the `circleci/windows` orb (inspired by the main react-native repo [CircleCI config](https://github.com/facebook/react-native/blob/ad5e3f6b9ae870cbfcef2874511915c5dc309ce8/.circleci/config.yml#L960-L962)). - `test-linux` job continues to use fast `cimg/node` images. - Parametarises `node-version` on the `test-linux` and `test-windows` jobs, and assigns as a matrix of versions (remains a single run against `14.17` for now). - Drops the `yarn_run` command in favour of YAML anchor to explicitly mix in `&secure_unset_publish_token` behaviour using CircleCI's `environment` 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 on `windows/`-prefixed branches (which will provide a hook for fixing these in future). ``` Test Suites: 18 failed, 92 passed, 110 total Tests: 232 failed, 1 skipped, 1286 passed, 1519 total Snapshots: 20 failed, 403 passed, 423 total Time: 87.927 s Ran all test suites. ``` https://app.circleci.com/pipelines/github/huntie/metro/9/workflows/2d5be9e2-40bf-4dc1-a450-621656f3cfc4/jobs/25 Changelog: [Internal] Reviewed By: jacdebug Differential Revision: D40805193 fbshipit-source-id: 011e1937c909deaa013bb6257a6a3df181f31e86
- Loading branch information