Skip to content

Commit

Permalink
ci(workflows): make test less flaky
Browse files Browse the repository at this point in the history
- Some execution do not wait for result and uses timeout to ensure completion
- However these tests are vulnerable to parallel execution, which may cause timeout happen earlier than execution
- This commit sets --runInBand in workflow file to ensure one test is run every time
  • Loading branch information
MrOrz committed Nov 19, 2023
1 parent 194881e commit c56f676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- run: npm run lint
- run: npm run typecheck
- run: npm run i18n:validate
- run: npm run test --ignore-scripts -- --coverage
- run: npm run test --ignore-scripts -- --coverage --runInBand
- name: Update coveralls
uses: coverallsapp/github-action@master
with:
Expand Down

0 comments on commit c56f676

Please sign in to comment.