chore: re-enable firefox on mac (#9137)

I believe they were previously enabled but got disabled with the recent
changes. Let's re-enable it as they don't appear to be slower than the
chrome tests.
This commit is contained in:
Alex Rudenko 2022-10-19 16:24:56 +02:00 committed by GitHub
parent 3499cbf4e1
commit 5885792be4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,11 +156,14 @@ jobs:
run: xvfb-run --auto-servernum npm run test -- --test-suite ${{ matrix.suite }}
firefox-tests:
name: ${{ matrix.suite }} tests on ubuntu-latest
runs-on: ubuntu-latest
name: ${{ matrix.suite }} tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
suite:
- firefox-bidi
- firefox-headful
@ -187,10 +190,15 @@ jobs:
PUPPETEER_PRODUCT: firefox
run: npm run postinstall
- name: Install linux dependencies.
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get install xvfb
- name: Tests types
run: npm run test-types
- name: Run all tests
- name: Run all tests (for non-Linux)
if: ${{ matrix.os != 'ubuntu-latest' }}
run: npm run test -- --test-suite ${{ matrix.suite }}
- name: Run all tests (for Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: xvfb-run --auto-servernum npm run test -- --test-suite ${{ matrix.suite }}
installation-test-build: