ci: Disable AppArmor on GHA runner

This commit is contained in:
Abhisek Datta
2026-01-15 18:56:26 +05:30
parent 81610a93e7
commit 3126a3a0e7
+8
View File
@@ -448,6 +448,9 @@ jobs:
name: Sandbox E2E - Linux (Bubblewrap)
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
shell: bash
steps:
- name: Checkout Source
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@@ -490,5 +493,10 @@ jobs:
touch ~/.gnupg/pubring.kbx
touch ~/.docker/config.json
- name: Disable AppArmor for Bubblewrap
run: |
sudo systemctl stop apparmor
sudo systemctl disable apparmor
- name: Run Sandbox E2E Test
run: pmg --sandbox --sandbox-profile npm-restrictive npm exec -- node test/sandbox-e2e.js