CI: run valgrind with --error-exitcode=1.
Chaos Ci / test (push) Successful in 3m5s
Chaos Ci / benchmark (push) Successful in 1m27s

This commit is contained in:
hashlag committed 2026-09-20 23:26:59 +03:00
1 parent eed5bb2649
commit 669b6ce17a
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
cmake --build build-debug-asanubsan/ -t ChaosTests
- name: Run tests under valgrind
run: valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all ./build-debug/ChaosTests/ChaosTests
run: valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all --error-exitcode=1 ./build-debug/ChaosTests/ChaosTests
- name: Run tests under ASan and UBSan
run: ASAN_OPTIONS=verbosity=1 UBSAN_OPTIONS=verbosity=1 ./build-debug-asanubsan/ChaosTests/ChaosTests