Skip to content

Commit 44a3d15

Browse files
committed
ci: Fix Ubuntu restricting namespaces in recent version
The tests failed because they rely on namespaces being unrestricted.
1 parent 95567da commit 44a3d15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
- name: Build wheels with container
4242
run: |
4343
python3 tools/build_in_container.py
44+
- name: Disable namespaces restrictions
45+
run: |
46+
sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
47+
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
4448
- name: Install in venv and run tests
4549
run: |
4650
python3 -m venv --system-site-packages venv

0 commit comments

Comments
 (0)