diff --git a/.github/actions/run-test/action.yml b/.github/actions/run-test/action.yml index 7038b5210e..c193515c45 100644 --- a/.github/actions/run-test/action.yml +++ b/.github/actions/run-test/action.yml @@ -36,13 +36,6 @@ runs: with: node-version: ${{ inputs.node-version }} - uses: ./.github/actions/enable-microphone-access - - name: Setup Ubuntu Binary Installation - if: ${{ runner.os == 'Linux' }} - run: | - if grep -q "Ubuntu 24" /etc/os-release; then - sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 - fi - shell: bash - run: | echo "::group::npm ci" npm ci diff --git a/.github/workflows/tests_others.yml b/.github/workflows/tests_others.yml index 66728e720f..ed18e1541c 100644 --- a/.github/workflows/tests_others.yml +++ b/.github/workflows/tests_others.yml @@ -147,6 +147,13 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 + - name: Setup Ubuntu Binary Installation # TODO: Remove when https://github.com/electron/electron/issues/42510 is fixed + if: ${{ runner.os == 'Linux' }} + run: | + if grep -q "Ubuntu 24" /etc/os-release; then + sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 + fi + shell: bash - uses: ./.github/actions/run-test with: browsers-to-install: chromium diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.yml index 02847957c4..b8ec84ee56 100644 --- a/.github/workflows/tests_primary.yml +++ b/.github/workflows/tests_primary.yml @@ -215,6 +215,13 @@ jobs: - uses: actions/checkout@v4 - run: npm install -g yarn@1 - run: npm install -g pnpm@8 + - name: Setup Ubuntu Binary Installation # TODO: Remove when https://github.com/electron/electron/issues/42510 is fixed + if: ${{ runner.os == 'Linux' }} + run: | + if grep -q "Ubuntu 24" /etc/os-release; then + sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 + fi + shell: bash - uses: ./.github/actions/run-test with: command: npm run itest