From b1867bb33805b53cecc9303a7f4542f83cdec4fb Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 16 Feb 2024 17:07:04 -0500 Subject: [PATCH] Use set -e on run commands to cause job failure on intermediate steps --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index 6b98c30..4d8cf49 100644 --- a/action.yml +++ b/action.yml @@ -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 @@ -39,6 +40,7 @@ runs: env: PYTHONWARNINGS: default run: | + set -e cd qiskit-neko stestr run ${{ inputs.test_selection }} shell: bash