Centralize Ubuntu Electron fix
This commit is contained in:
parent
1a7ec58ab7
commit
b210a1152b
4
.github/actions/run-test/action.yml
vendored
4
.github/actions/run-test/action.yml
vendored
|
|
@ -54,6 +54,10 @@ runs:
|
|||
npx playwright install --with-deps ${{ inputs.browsers-to-install }}
|
||||
echo "::endgroup::"
|
||||
shell: bash
|
||||
- name: Setup Ubuntu Electron
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
run: |
|
||||
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
|
||||
- name: Run tests
|
||||
if: inputs.shell == 'bash'
|
||||
run: |
|
||||
|
|
|
|||
4
.github/workflows/tests_others.yml
vendored
4
.github/workflows/tests_others.yml
vendored
|
|
@ -147,10 +147,6 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Ubuntu
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
run: |
|
||||
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
|
||||
- uses: ./.github/actions/run-test
|
||||
with:
|
||||
browsers-to-install: chromium
|
||||
|
|
|
|||
4
.github/workflows/tests_primary.yml
vendored
4
.github/workflows/tests_primary.yml
vendored
|
|
@ -213,10 +213,6 @@ jobs:
|
|||
contents: read # This is required for actions/checkout to succeed
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Ubuntu
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
run: |
|
||||
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
|
||||
- run: npm install -g yarn@1
|
||||
- run: npm install -g pnpm@8
|
||||
- uses: ./.github/actions/run-test
|
||||
|
|
|
|||
Loading…
Reference in a new issue