diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 83bf6964..781adbeb 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -56,10 +56,15 @@ jobs: run: | cd ${{ github.workspace }}/coriolis-2.x/src/alliance-check-toolkit/benchs eval `${{ github.workspace }}/coriolis-2.x/Linux.x86_64/Release.Shared/install/etc/coriolis2/coriolisEnv.py` - ../bin/gopy.sh + ../bin/gopy.sh --github-runner - name: Archive code coverage results uses: actions/upload-artifact@v3 with: name: design-set-full-logs path: ${{ github.workspace }}/coriolis-2.x/src/alliance-check-toolkit/benchs/doit-gopy.log retention-days: 5 + - name: Make the runner fail *after* the log has been saved. + run: | + if [ -f ${{ github.workspace }}/coriolis-2.x/src/alliance-check-toolkit/benchs/doit-gopy.failed ]; then + exit 1 + fi