File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -78,15 +78,17 @@ jobs:
78
78
id : e2e
79
79
if : runner.os != 'Windows'
80
80
run : |
81
+ echo "PLAYWRIGHT_BROWSERS_PATH=$HOME/.cache/playwright-bin" >> $GITHUB_ENV
81
82
playwright install chromium --with-deps
82
83
python3 -m pytest tests/e2e.py --tracing=retain-on-failure
83
84
- name : Run E2E tests on Windows with Playwright
84
85
if : runner.os == 'Windows'
85
86
run : |
87
+ echo "PLAYWRIGHT_BROWSERS_PATH=$HOME\.cache\playwright-bin" >> $GITHUB_ENV
86
88
playwright install chromium --with-deps
87
- python3 -m pytest tests/e2e.py
89
+ python3 -m pytest tests/e2e.py --tracing=retain-on-failure
88
90
- name : Upload test artifacts
89
- if : ${{ failure() && steps.e2e.conclusion == 'failure' && runner.os != 'Windows' }}
91
+ if : ${{ failure() && steps.e2e.conclusion == 'failure' }}
90
92
uses : actions/upload-artifact@v4
91
93
with :
92
94
name : playwright-traces${{ matrix.python_version }}
You can’t perform that action at this time.
0 commit comments