From cad66c567c6e862c58e7a913cf1b6c3f7dbb2370 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 6 Mar 2025 21:21:39 -0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f97f0a884..e27857fe9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -253,9 +253,13 @@ jobs: - name: Run Jest unit tests run: cd src-ui && npm run test -- --max-workers=2 --shard=${{ matrix.shard-index }}/${{ matrix.shard-count }} + - + name: Run Playwright e2e tests + run: cd src-ui && npx playwright test --shard ${{ matrix.shard-index }}/${{ matrix.shard-count }} - name: Upload frontend test results to Codecov uses: codecov/test-results-action@v1 + if: always() with: token: ${{ secrets.CODECOV_TOKEN }} flags: frontend @@ -267,9 +271,6 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} flags: frontend directory: src-ui/coverage/ - - - name: Run Playwright e2e tests - run: cd src-ui && npx playwright test --shard ${{ matrix.shard-index }}/${{ matrix.shard-count }} frontend-bundle-analysis: name: "Frontend Bundle Analysis"