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