File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,12 @@ jobs:
9696 # By default linux agents do not have a real display so use the virtual framebuffer
9797 # Tests are run in a dbus session after creating a keyring password for compatibility with Keytar
9898 # See packages/electron/README.md for more details
99- - script : >-
100- dbus-run-session -- sh -c
101- "echo 'keyringPassword' | gnome-keyring-daemon -r -d --unlock ;
102- xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' pnpm test:integration --verbose"
99+ - script : |
100+ sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
101+ dbus-run-session -- sh -c "
102+ echo 'keyringPassword' | gnome-keyring-daemon -r -d --unlock ;
103+ xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' pnpm test:integration --verbose
104+ "
103105 displayName: pnpm test:integration - Linux
104106 env:
105107 # Couldn't get this variable to be ingested in the steps above, but this works
You can’t perform that action at this time.
0 commit comments