Skip to content

Commit 276f73a

Browse files
authored
Update app-tests.yaml
1 parent acca214 commit 276f73a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/app-tests.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,17 @@ jobs:
7878
id: e2e
7979
if: runner.os != 'Windows'
8080
run: |
81+
echo "PLAYWRIGHT_BROWSERS_PATH=$HOME/.cache/playwright-bin" >> $GITHUB_ENV
8182
playwright install chromium --with-deps
8283
python3 -m pytest tests/e2e.py --tracing=retain-on-failure
8384
- name: Run E2E tests on Windows with Playwright
8485
if: runner.os == 'Windows'
8586
run: |
87+
echo "PLAYWRIGHT_BROWSERS_PATH=$HOME\.cache\playwright-bin" >> $GITHUB_ENV
8688
playwright install chromium --with-deps
87-
python3 -m pytest tests/e2e.py
89+
python3 -m pytest tests/e2e.py --tracing=retain-on-failure
8890
- name: Upload test artifacts
89-
if: ${{ failure() && steps.e2e.conclusion == 'failure' && runner.os != 'Windows' }}
91+
if: ${{ failure() && steps.e2e.conclusion == 'failure' }}
9092
uses: actions/upload-artifact@v4
9193
with:
9294
name: playwright-traces${{ matrix.python_version }}

0 commit comments

Comments
 (0)