We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9738405 commit 6d761baCopy full SHA for 6d761ba
.github/workflows/tests.yml
@@ -69,7 +69,19 @@ jobs:
69
- run: npm ls urchin
70
- run: npx which urchin
71
- run: env
72
- - run: make TERM=xterm-256color TEST_SUITE="${{ matrix.suite }}" SHELL="${{ matrix.shell }}" URCHIN="$(npx which urchin)" test-${{ matrix.shell }}
+ - name: Run tests
73
+ shell: bash
74
+ run: |
75
+ for attempt in 1 2 3; do
76
+ timeout 600 make TERM=xterm-256color TEST_SUITE="${{ matrix.suite }}" SHELL="${{ matrix.shell }}" URCHIN="$(npx which urchin)" test-${{ matrix.shell }} && exit 0
77
+ EXIT_CODE=$?
78
+ if [ $EXIT_CODE -ne 124 ]; then
79
+ exit $EXIT_CODE
80
+ fi
81
+ echo "Attempt ${attempt} timed out; retrying..."
82
+ done
83
+ echo "All 3 attempts timed out."
84
+ exit 1
85
86
nvm:
87
permissions:
0 commit comments