Skip to content

Commit d5a7612

Browse files
committed
ci: enable unprivileged namespaces
1 parent 2b31ee9 commit d5a7612

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/push-pr.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
name: Test
3232
strategy:
3333
matrix:
34-
platform: [ ubuntu-latest, ubuntu-24.04-arm ]
34+
platform: [ubuntu-latest, ubuntu-24.04-arm]
3535
fail-fast: false
3636
runs-on: ${{ matrix.platform }}
3737
permissions:
@@ -40,6 +40,11 @@ jobs:
4040
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
4141
with:
4242
persist-credentials: false
43+
# required for bubblewrap tests
44+
- name: Enable unprivileged user namespaces
45+
run: |
46+
sudo sysctl kernel.unprivileged_userns_clone=1
47+
sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0
4348
- run: |
4449
make test
4550

0 commit comments

Comments
 (0)