Skip to content

Commit

Permalink
Use set -e on run commands to cause job failure on intermediate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Feb 16, 2024
1 parent 62ded6d commit b1867bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ runs:
path: repo_under_test
- name: Install repo under test
run: |
set -e
pushd repo_under_test
${{ inputs.repo_install_command }}
popd
Expand All @@ -39,6 +40,7 @@ runs:
env:
PYTHONWARNINGS: default
run: |
set -e
cd qiskit-neko
stestr run ${{ inputs.test_selection }}
shell: bash

0 comments on commit b1867bb

Please sign in to comment.