Skip to content

Commit 4d2a8c4

Browse files
committed
Fix tests on latest Ubuntu
1 parent e5ffcbf commit 4d2a8c4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/compile.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ jobs:
2121
- name: Install dependencies and build
2222
run: yarn
2323
- name: Run tests
24-
run: yarn test
24+
run: |
25+
# See: https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
26+
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
27+
yarn test
2528
- name: Upload compiled code as artifact
2629
uses: actions/upload-artifact@v4
2730
with:

0 commit comments

Comments
 (0)