Skip to content

Commit

Permalink
Add timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
surfinzap committed Sep 21, 2024
1 parent b4a31b7 commit 1686754
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Run tests and output results to a file
- name: Run tests and capture output
run: |
pnpm test > test-result.txt
pnpm test --timeout 10000 > test-result.txt
env:
CI: true

Expand All @@ -42,12 +42,6 @@ jobs:
run: |
tr -cd '\11\12\15\40-\176' < test-result.txt > sanitized-test-result.txt
- name: Check Node.js version
run: node -v

- name: Print sanitized test output
run: cat sanitized-test-result.txt

# Extract passing test count from the sanitized output
- name: Parse passing test count
id: test_count
Expand Down

0 comments on commit 1686754

Please sign in to comment.