Skip to content

Commit

Permalink
Disable AppArmor in test job (#1741)
Browse files Browse the repository at this point in the history
Needed following switch to Ubuntu 24.
  • Loading branch information
tidoust authored Jan 7, 2025
1 parent 10055bf commit 03b40ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
# Starting with Ubuntu 23+, a security feature prevents running Puppeteer
# by default. It needs to be disabled. Using the "easiest" option, see:
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
# https://github.com/puppeteer/puppeteer/pull/13196/files
- name: Disable AppArmor
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns

- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 03b40ce

Please sign in to comment.