Skip to content

Commit

Permalink
Add timeout minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Dec 6, 2023
1 parent 3a92fb4 commit 5147b64
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ jobs:
- name: Run jest --shard=${{ format('{0}/{1}', matrix.shard-index, matrix.shard-count) }}
run: |
./node_modules/.bin/jest \
--bail=20 \
--ci \
--coverage true \
--forceExit \
--logHeapUsage \
--runInBand \
--shard=${{ format('{0}/{1}', matrix.shard-index, matrix.shard-count) }}
timeout-minutes: 10

- if: always()
name: Append ID to test result
Expand All @@ -195,10 +195,6 @@ jobs:
./coverage/nunit3-*.xml
./coverage/result-*.trx
- if: always()
name: Run docker-compose down
run: docker-compose -f docker-compose-wsl2.yml down --rmi all

merge-test-result:
if: always()
name: Merge test result
Expand Down

0 comments on commit 5147b64

Please sign in to comment.