Skip to content

Commit

Permalink
test: disable apparmor on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Jan 10, 2025
1 parent d31d389 commit 76da5a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Disable AppArmor
if: ${{ matrix.os == 'ubuntu-latest' }}
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns

- name: Install dependencies
run: |
npm ci
Expand Down Expand Up @@ -70,6 +74,10 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Disable AppArmor
if: ${{ matrix.os == 'ubuntu-latest' }}
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns

- name: Install dependencies
run: |
sudo apt-get install xvfb
Expand Down

0 comments on commit 76da5a0

Please sign in to comment.