diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a0e831..cbd9316 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,14 @@ jobs: pip install --pre dist/*.whl - name: Run run: | - carconnectivity test/integration_test/carConnectivity.json 2>&1 | grep -q 'There was a problem when authenticating with one or multiple services' + set +e + output=$(carconnectivity test/integration_test/carConnectivity.json 2>&1) + echo "$output" | grep -q 'There was a problem when authenticating with one or multiple services' + if [ $? -ne 0 ]; then + echo "$output" + exit 1 + fi + set -e - name: Lint run: | make lint