Skip to content

Commit

Permalink
workflows: Use "sudo" with unshare
Browse files Browse the repository at this point in the history
latest Ubuntu says "Operation not permitted"

Signed-off-by: Jussi Kukkonen <[email protected]>
  • Loading branch information
jku committed Jan 13, 2025
1 parent 065d90a commit 17de2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
# but not marked as such will fail.
# We also explicitly exclude the intergration tests, since these are
# always online.
unshare --map-root-user --net make test T="test/unit" TEST_ARGS="--skip-online -vv --showlocals"
sudo unshare --map-root-user --net make test T="test/unit" TEST_ARGS="--skip-online -vv --showlocals"
- name: test
run: make test TEST_ARGS="-vv --showlocals"
Expand Down

0 comments on commit 17de2a2

Please sign in to comment.