Skip to content

Commit

Permalink
ci: valgrind and sudo some unit tests
Browse files Browse the repository at this point in the history
Problem: reworked unit tests are never run under valgrind and
some require root.

Run scripts/check-valgrind.sh and scripts/check-root.sh from ci.
  • Loading branch information
garlick committed Jan 14, 2025
1 parent 7b435ab commit 3b6ce5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
sudo apt-get install -y \
libpopt-dev ncurses-dev automake autoconf pkgconf \
lua5.3 liblua5.3-dev libmunge-dev libwrap0-dev libcap-dev \
libattr1-dev dbench attr scrub ${{matrix.cc}}
libattr1-dev dbench attr scrub valgrind ${{matrix.cc}}
- name: Display configuration
run: |
echo "C compiler:"
Expand All @@ -38,6 +38,10 @@ jobs:
run: make
- name: make check
run: make check
- name: valgrind some unit tests
run: scripts/check-valgrind.sh
- name: sudo some unit tests
run: scripts/check-root.sh
- name: check with linux/9p
run: sudo make check -C tests/kern
- name: make distcheck
Expand Down

0 comments on commit 3b6ce5c

Please sign in to comment.