@@ -26,21 +26,15 @@ jobs:
26
26
matrix :
27
27
os : ["ubuntu-20.04", "windows-latest"]
28
28
python_version : ["3.9", "3.10", "3.11", "3.12", "3.13"]
29
- env :
30
- UV_SYSTEM_PYTHON : 1
31
29
steps :
32
30
- uses : actions/checkout@v4
33
- - name : Setup python
34
- uses : actions/setup-python@v5
35
- with :
36
- python-version : ${{ matrix.python_version }}
37
- architecture : x64
38
31
- name : Install uv
39
32
uses : astral-sh/setup-uv@v5
40
33
with :
41
34
enable-cache : true
42
35
version : " 0.4.20"
43
36
cache-dependency-glob : " requirements**.txt"
37
+ python-version : ${{ matrix.python_version }}
44
38
- name : Setup node
45
39
uses : actions/setup-node@v4
46
40
with :
@@ -58,20 +52,20 @@ jobs:
58
52
- name : Check types with mypy
59
53
run : |
60
54
cd scripts/
61
- python3 -m mypy . --config-file=../pyproject.toml
55
+ mypy . --config-file=../pyproject.toml
62
56
cd ../app/backend/
63
- python3 -m mypy . --config-file=../../pyproject.toml
57
+ mypy . --config-file=../../pyproject.toml
64
58
- name : Check formatting with black
65
59
run : black . --check --verbose
66
60
- name : Run Python tests
67
61
if : runner.os != 'Windows'
68
- run : python3 -m pytest -s -vv --cov --cov-fail-under=86
62
+ run : pytest -s -vv --cov --cov-fail-under=86
69
63
- name : Run E2E tests with Playwright
70
64
id : e2e
71
65
if : runner.os != 'Windows'
72
66
run : |
73
67
playwright install chromium --with-deps
74
- python3 -m pytest tests/e2e.py --tracing=retain-on-failure
68
+ pytest tests/e2e.py --tracing=retain-on-failure
75
69
- name : Upload test artifacts
76
70
if : ${{ failure() && steps.e2e.conclusion == 'failure' }}
77
71
uses : actions/upload-artifact@v4
0 commit comments