diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 50ce5cb01..1753e6f0a 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -40,12 +40,15 @@ jobs: - name: Run valgrind run: | - valgrind --error-limit=yes --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --suppressions=valgrind/testrunner.supp --gen-suppressions=all --log-fd=9 --error-exitcode=42 ./testrunner TestGarbage TestOther TestSimplifyTemplate 9>memcheck.log + ec=0 + valgrind --error-limit=yes --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --suppressions=valgrind/testrunner.supp --gen-suppressions=all --log-fd=9 --error-exitcode=42 ./testrunner TestGarbage TestOther TestSimplifyTemplate 9>memcheck.log || ec=1 cat memcheck.log + exit $ec env: DEBUGINFOD_URLS: https://debuginfod.ubuntu.com - uses: actions/upload-artifact@v3 + if: success() || failure() with: name: Logs path: ./*.log