Skip to content

Commit

Permalink
test trial for exiting with error, when expected
Browse files Browse the repository at this point in the history
  • Loading branch information
boromir674 committed Nov 5, 2023
1 parent 6f2b59a commit dff7d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
steps:
- name: run sth that might fail
run: |
echo "compute" && job_status=0
ls -l non-existant-dir && job_status=0
echo "job_status: $job_status"
[ "$job_status" = 0 ] && echo "Command Succeeded!" || exit 1
# - run: |
Expand Down

0 comments on commit dff7d33

Please sign in to comment.