@@ -3,7 +3,7 @@ name: Tests
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - main
7
7
pull_request :
8
8
schedule :
9
9
- cron : " 37 1 1 * *"
@@ -16,20 +16,26 @@ jobs:
16
16
fail-fast : false
17
17
matrix :
18
18
python-version :
19
- - " 3.10"
20
- - " 3.12"
21
- - " 3.13"
19
+ - ' 3.10'
20
+ - ' 3.12'
21
+ - ' 3.13'
22
22
23
23
steps :
24
- - uses : actions/checkout@v4
25
- - name : Set up Python ${{ matrix.python-version }}
26
- uses : actions/setup-python@v5
27
- with :
28
- python-version : ${{ matrix.python-version }}
29
- - name : Install dependencies
30
- run : |
31
- python -m pip install --upgrade pip wheel setuptools tox
32
- - name : Run tox targets for ${{ matrix.python-version }}
33
- run : |
34
- ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}")
35
- TOXENV=$(tox --listenvs | grep "^py$ENV_PREFIX" | tr '\n' ',') python -m tox
24
+ - uses : actions/checkout@v4
25
+ - name : Set up Python ${{ matrix.python-version }}
26
+ uses : actions/setup-python@v5
27
+ with :
28
+ python-version : ${{ matrix.python-version }}
29
+ - name : Install dependencies
30
+ run : |
31
+ python -m pip install --upgrade pip tox pytest-playwright
32
+
33
+ # Install playwright system dependencies
34
+ - name : Install Playwright browsers
35
+ run : |
36
+ playwright install --with-deps chromium
37
+
38
+ - name : Run tox targets for ${{ matrix.python-version }}
39
+ run : |
40
+ ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}")
41
+ TOXENV=$(tox --listenvs | grep "^py$ENV_PREFIX" | tr '\n' ',') python -m tox
0 commit comments