Skip to content

Commit

Permalink
Actions: add timeout for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlul committed Oct 27, 2024
1 parent 143ef54 commit 4fb260c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@ jobs:
CHALLONGE_USERNAME: ${{ secrets.CHALLONGE_USERNAME }},
CHALLONGE_TOKEN: ${{ secrets.CHALLONGE_TOKEN }},
POSTGRESQL_URL: postgresql://localhost/nonexistent
# Rarely, the test suite may hang because a delayed start of the test container causes tests to fail
# and container clean-up to not happen, so the Node process does not exit and continues to wait on
# the test container.
timeout-minutes: 1
- run: yarn cover
- run: yarn lint

0 comments on commit 4fb260c

Please sign in to comment.