Skip to content

Commit

Permalink
Try NEEDRESTART_MODE with apt install valgrind.
Browse files Browse the repository at this point in the history
  • Loading branch information
byllyfish committed Jun 6, 2024
1 parent b1b0395 commit 607c97a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 607c97a

Please sign in to comment.