From 607c97a8f5935cb47655fa144db7a00d5f735059 Mon Sep 17 00:00:00 2001 From: Bill Fisher Date: Wed, 5 Jun 2024 19:02:47 -0700 Subject: [PATCH] Try NEEDRESTART_MODE with apt install valgrind. --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2715ce5..9262945 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,11 +54,9 @@ jobs: run: ./tests/run_tests.sh - name: Run memory tests (Linux) run: | - sudo apt-get install -y valgrind + sudo NEEDRESTART_MODE=l apt-get install -y valgrind ./tests/run_tests.sh memcheck - # On ubuntu-24.04, installing valgrind leads to a "Restarting services..." cancelled error. - # For now, skip the memory test on ubuntu-24.04. - if: runner.os == 'Linux' && matrix.os != 'ubuntu-24.04' + if: runner.os == 'Linux' - name: Run TMPFS tests (Linux) run: | mkdir /run/user/$UID/exacl