test(core): install bubblewrap on Linux CI for sandbox integration tests (#23583)

This commit is contained in:
Emily Hedlund
2026-03-25 10:29:46 -04:00
committed by GitHub
parent 5e186bfb22
commit 109a7dc531
2 changed files with 23 additions and 9 deletions

View File

@@ -158,6 +158,12 @@ jobs:
- name: 'Build project'
run: 'npm run build'
- name: 'Install system dependencies'
run: |
sudo apt-get update -qq && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -qq bubblewrap
# Ubuntu 24.04+ requires this to allow bwrap to function in CI
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 || true
- name: 'Install dependencies for testing'
run: 'npm ci'