diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index ea287bcad..10dc40b8e 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -26,13 +26,19 @@ permissions: jobs: test: - name: Test + name: ${{ matrix.os }} / ${{ matrix.browser }} strategy: fail-fast: false matrix: node-version: [lts/*] os: [windows-latest, ubuntu-latest] + browser: [firefox, chrome] + include: + - browser: firefox + skip: --noChrome + - browser: chrome + skip: --noFirefox runs-on: ${{ matrix.os }} @@ -71,11 +77,11 @@ jobs: - name: Run integration tests (Windows) if: ${{ matrix.os == 'windows-latest' }} - run: npx gulp integrationtest + run: npx gulp integrationtest ${{ matrix.skip }} - name: Run integration tests (Linux) if: ${{ matrix.os == 'ubuntu-latest' }} - run: xvfb-run -a --server-args="-screen 0, 1920x1080x24" npx gulp integrationtest + run: xvfb-run -a --server-args="-screen 0, 1920x1080x24" npx gulp integrationtest ${{ matrix.skip }} - name: Save cached PDF files uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5