Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 committed May 20, 2024
1 parent e396179 commit 9a5cf96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/command2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ jobs:
- name: Test timeout
timeout-minutes: 1
run: |
timeout 50 sudo -E sleep 52s || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then echo test failed; exit $code; fi
echo start
timeout 50 sudo -E sleep 55s || code=$?; echo exit code is $code; if [[ $code -eq 124 ]]; then echo test timeout with $code; exit 0; else echo test failed with $code; exit $code; fi
echo end
- name: Build
uses: ./.github/actions/build
with:
Expand Down

0 comments on commit 9a5cf96

Please sign in to comment.