Skip to content

Commit

Permalink
Only run CI in parallel on linux. Mac and Windows are too flaky. (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic authored Sep 12, 2023
1 parent 81b78aa commit 6f3c361
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
# See https://code.visualstudio.com/api/working-with-extensions/continuous-integration#github-actions for why we need xvfb-run
- run: npm test
if: runner.os != 'Linux'
# We run tests in parallel on Linux, but not on other OSs. This is
# because the Mac and Windows runners are very flaky, and parallelism
# makes them worse.
env:
WIREIT_PARALLEL: 1
- run: xvfb-run -a npm test
if: runner.os == 'Linux'

Expand Down

0 comments on commit 6f3c361

Please sign in to comment.