mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Move fixtures test to its own CI job
Running it in parallel to the other post-build jobs shaves ~30 seconds off the total CI time.
This commit is contained in:
+18
-1
@@ -178,7 +178,21 @@ jobs:
|
||||
- *restore_yarn_cache
|
||||
- *run_yarn
|
||||
- run: yarn test-build --maxWorkers=2
|
||||
- run: yarn test-dom-fixture
|
||||
|
||||
test_dom_fixtures:
|
||||
docker: *docker
|
||||
environment: *environment
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace: *attach_workspace
|
||||
- *restore_yarn_cache
|
||||
- run:
|
||||
name: Run DOM fixture tests
|
||||
command: |
|
||||
cd fixtures/dom
|
||||
yarn --frozen-lockfile
|
||||
yarn prestart
|
||||
yarn test --maxWorkers=2
|
||||
|
||||
test_fuzz:
|
||||
docker: *docker
|
||||
@@ -243,6 +257,9 @@ workflows:
|
||||
- test_build_prod:
|
||||
requires:
|
||||
- build
|
||||
- test_dom_fixtures:
|
||||
requires:
|
||||
- build
|
||||
hourly:
|
||||
triggers:
|
||||
- schedule:
|
||||
|
||||
Reference in New Issue
Block a user