File tree 3 files changed +5
-9
lines changed
3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 8
8
merge_test :
9
9
timeout-minutes : 15
10
10
runs-on : ubuntu-latest
11
+ container :
12
+ image : mcr.microsoft.com/playwright:v1.51.0-jammy
11
13
steps :
12
14
- uses : actions/checkout@v4
13
15
- name : Set up Python
22
24
run : |
23
25
uv venv
24
26
uv sync --all-extras --dev
25
- - name : Install Playwright Browsers
26
- run : |
27
- PLAYWRIGHT_VERSION=$(grep -E '^playwright = "[^"]*"' pyproject.toml | sed -E 's/playwright = "([^"]*)".*$/\1/')
28
- npx playwright@$PLAYWRIGHT_VERSION install --with-deps
29
27
- name : Test with pytest
30
28
run : xvfb-run .venv/bin/python -m pytest -m devRun --base-url ${{ vars.BASE_URL }}
31
29
- name : Auto-assign reviewers
Original file line number Diff line number Diff line change 31
31
nightly-test :
32
32
needs : setup-matrix
33
33
runs-on : ubuntu-latest
34
+ container :
35
+ image : mcr.microsoft.com/playwright:v1.51.0-jammy
34
36
strategy :
35
37
fail-fast : false
36
38
matrix : ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
48
50
run : |
49
51
uv venv
50
52
uv sync --all-extras --dev
51
- - name : Install Playwright Browsers
52
- run : |
53
- PLAYWRIGHT_VERSION=$(grep -E '^playwright = "[^"]*"' pyproject.toml | sed -E 's/playwright = "([^"]*)".*$/\1/')
54
- npx playwright@$PLAYWRIGHT_VERSION install --with-deps
55
53
- name : Run Tests
56
54
run : |
57
55
xvfb-run .venv/bin/python -m pytest ${{ github.event.inputs.pytest_command || '-m "not devRun"' }} \
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ addopts = [
54
54
" tms:https://{}" ,
55
55
" -ra" ,
56
56
" --color=yes" ,
57
- " --browser-channel=chrome " ,
57
+ " --browser=chromium " ,
58
58
" --headed" ,
59
59
" --video=retain-on-failure" ,
60
60
" --tracing=retain-on-failure"
You can’t perform that action at this time.
0 commit comments