From 4cd459708221f3ed76a99e3f28366fef02a95348 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Sat, 2 Sep 2023 08:19:59 -0700 Subject: [PATCH] Browser-specific playwright job --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbbb413f..37210bba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -221,6 +221,7 @@ jobs: matrix: node-version: [18] # just one as integration tests are about testing in browser runs-on: [ubuntu] # macos is flaky + browser: [chromium, firefox] runs-on: ${{ matrix.runs-on }}-latest steps: - uses: actions/checkout@v3 @@ -234,7 +235,7 @@ jobs: yarn --frozen-lockfile yarn install-addons - name: Install playwright - run: npx playwright install --with-deps + run: npx playwright install --with-deps ${{ matrix.browser }} - name: Wait for build job uses: NathanFirmo/wait-for-other-job@v1.1.1 with: @@ -254,7 +255,7 @@ jobs: - name: Build demo run: yarn build-demo - name: Integration tests - run: yarn test-playwright --forbid-only + run: yarn test-playwright-${{ matrix.browser }} --forbid-only test-api: needs: build