From 897fed1609e5d92436cd9f36722ea76d07c04399 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Tue, 24 Aug 2021 23:35:37 +0200 Subject: [PATCH] ci: fail if valgrind complains (#4066) --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 160692b055b..a7b15d76fde 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,7 @@ jobs: # Run with valgrind - name: Run valgrind test-mem - run: valgrind --leak-check=full --show-leak-kinds=all ./target/debug/test-mem + run: valgrind --error-exitcode=1 --leak-check=full --show-leak-kinds=all ./target/debug/test-mem # Compile tests - name: cargo build test-process-signal @@ -105,7 +105,7 @@ jobs: # Run with valgrind - name: Run valgrind test-process-signal - run: valgrind --leak-check=full --show-leak-kinds=all ./target/debug/test-process-signal + run: valgrind --error-exitcode=1 --leak-check=full --show-leak-kinds=all ./target/debug/test-process-signal test-unstable: name: test tokio full --unstable