From 6840c9b2110b00bc434862df15b7eb761008da6f Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Tue, 14 Jan 2025 12:59:51 -0500 Subject: [PATCH] Upload playwright HTML reports. --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24a865a0d..f8487daa9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,6 +70,7 @@ jobs: package_json_file: frontend/package.json run_install: false if: startsWith(matrix.noxenv, 'ui') + - name: Install playwright browsers run: pnpm --dir frontend dlx playwright install --with-deps if: matrix.noxenv == 'ui(tests)' @@ -82,6 +83,14 @@ jobs: - name: Run nox run: uvx nox -s "${{ matrix.noxenv }}" + - name: Upload Playwright Report + uses: actions/upload-artifact@v4 + with: + name: playwright-report + path: frontend/test-results/ + retention-days: 10 + if: matrix.noxenv == 'ui(tests)' + containerless: runs-on: ubuntu-latest