Skip to content

Commit

Permalink
fixup! amend! ci(win test): deal better with hanging tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dscho committed Dec 3, 2023
1 parent d2c4fae commit 5039149
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,14 @@ jobs:
timeout-minutes: 2
run: . /etc/profile && ci/run-test-slice.sh 0 1
- name: handle timed-out tests
if: steps.test.outcome == "failure" && env.FAILED_TEST_ARTIFACTS == ""
if: steps.test.outcome == 'failure' && env.FAILED_TEST_ARTIFACTS == ''
shell: bash
run: . /etc/profile && . ci/lib.sh && { handle_failed_test || test $? = 1; }
- name: print test failures
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
shell: bash
run: ci/print-test-failures.sh
- name: Upload failed/timed-out tests' directories
if: steps.test.conclusion == "failure"
uses: actions/upload-artifact@v3
with:
name: failed-tests-windows
Expand Down

0 comments on commit 5039149

Please sign in to comment.