mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
ci: Disable AppArmor on GHA runner
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user