From 69ed72f383787b14479524a42d995f7ca7bac2aa Mon Sep 17 00:00:00 2001 From: "James D. Mitchell" Date: Thu, 20 Jun 2024 16:36:02 +0100 Subject: [PATCH] ci: enable valgrind for jobs touching src/*.[hc] --- .github/workflows/valgrind.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 0fa0315e3..a8964a42f 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -3,6 +3,9 @@ on: workflow_dispatch: release: types: [created] + push: + paths: + - src/*.[hc] env: VALGRIND: valgrind --trace-children=yes --leak-check=full --error-exitcode=1