aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-07 14:43:27 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-07 14:43:27 +0100
commitcb7c57953024a23fc7c20db75f3a15f81bb62bd3 (patch)
treea13b8163b43a3ba655c4072cd7ffa78a7078a7d5 /.github
parent449456c2c86f56e9294294e03436d3aa0ff089f5 (diff)
downloadlibquotient-cb7c57953024a23fc7c20db75f3a15f81bb62bd3.tar.gz
libquotient-cb7c57953024a23fc7c20db75f3a15f81bb62bd3.zip
Fix valgrind invocation failure
It turned out that, confusingly, ${{ runner.workspace }} refers to the directory above $GITHUB_WORKSPACE, which is why the previous commit ended up with valgrind not finding its suppressions.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9eefa43f..6fdb337a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -71,7 +71,7 @@ jobs:
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get -qq install ninja-build valgrind
- echo "VALGRIND=valgrind --tool=memcheck --leak-check=yes --gen-suppressions=all --suppressions=${{ runner.workspace }}/quotest/.valgrind.supp" >>$GITHUB_ENV
+ echo "VALGRIND=valgrind --tool=memcheck --leak-check=yes --gen-suppressions=all --suppressions=$GITHUB_WORKSPACE/quotest/.valgrind.supp" >>$GITHUB_ENV
- name: Setup build environment
run: |