Skip to content

Commit

Permalink
Restore timeout in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
novemberborn committed Dec 31, 2023
1 parent 3ff478e commit ddf0419
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ set -ex
# Set environment variable to have the AVA config skip wathch mode tests.
TEST_AVA_SKIP_WATCH_MODE=1 npx c8 --report=none npx test-ava

# Reduce concurrency to give watch mode tests a better chance of succeeding in a CI environment.
npx c8 --report=none --no-clean npx test-ava --serial test/watch-mode
# Reduce concurrency and be generous with timeouts to give watch mode tests a
# better chance of succeeding in a CI environment.
npx c8 --report=none --no-clean npx test-ava --serial --timeout 30s test/watch-mode

# Only run reporter tests on Linux where they're least likely to flake out.
case "$(uname -s)" in
Expand Down

0 comments on commit ddf0419

Please sign in to comment.