aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2023-11-12 20:29:32 +0200
committerMartin Pärtel <martin.partel@gmail.com>2023-11-12 20:29:32 +0200
commit06974220cba7f7a53a9ca7fa2a9393ce317a4100 (patch)
tree917d52fb6a5eea342a1310871e1742799fb33e4c
parentec4ad808860ef2f1499266d0a99ee1e4a0676e8e (diff)
downloadbindfs-06974220cba7f7a53a9ca7fa2a9393ce317a4100.tar.gz
CI: run tests
-rw-r--r--.github/workflows/linux.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index e41ae95..843ef06 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -79,6 +79,17 @@ jobs:
set -x
make -C build -j$(nproc) VERBOSE=1
+ - name: 'Test as non-root'
+ run: |-
+ set -x
+ whoami
+ make check
+
+ - name: 'Test as root'
+ run: |-
+ set -x
+ sudo make check
+
- name: 'Install'
run: |-
set -x -o pipefail