Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ jobs:
command: |
TEST=$(circleci tests glob "{packages,tools}/*/test/*.test.js" | grep -v ".*-memory\.test\.js$" | circleci tests split --split-by=timings)
yarn test:start --files $TEST --config web-test-runner.config.ci-chromium.js --group unit-ci
max_auto_reruns: 3
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jnjosh I tested out adding this to our test commands and I'm not seeing any issues in CI. What would you think of adding to as a ticket in our backlog? It still reports that tests had to be rerun and it still flags specific tests that fail as flaky so it doesn't mask any underlying issues; just saves PRs from having to manually re-run when they're not making changes to the flaky files.

- store_test_results:
path: /root/project/results/

Expand All @@ -240,8 +241,8 @@ jobs:
name: Run memory tests
command: |
TEST=$(circleci tests glob "{packages,tools}/*/test/*-memory.test.js" | grep -v "packages/color-.*/test/.*-memory\.test\.js" | grep -v "tools/grid/test/.*-memory\.test\.js" | circleci tests split --split-by=timings)
echo $TEST
yarn test:start --files $TEST --config web-test-runner.config.ci-chromium-memory.js --group unit-ci
max_auto_reruns: 3
- store_test_results:
path: /root/project/results/

Expand All @@ -256,6 +257,7 @@ jobs:
command: |
TEST=$(circleci tests glob "{packages,tools}/*/test/*.test.js" | grep -v ".*-memory\.test\.js$" | circleci tests split --split-by=timings)
yarn test:start --files $TEST --config web-test-runner.config.ci-firefox.js --group unit-ci
max_auto_reruns: 3
- store_test_results:
path: /root/project/results/

Expand All @@ -270,6 +272,7 @@ jobs:
command: |
TEST=$(circleci tests glob "{packages,tools}/*/test/*.test.js" | grep -v ".*-memory\.test\.js$" | circleci tests split --split-by=timings)
yarn test:start --files $TEST --config web-test-runner.config.ci-webkit.js --group unit-ci
max_auto_reruns: 3
- store_test_results:
path: /root/project/results/

Expand Down
Loading