2727 - uses : actions/checkout@v6
2828 - name : Setup venv
2929 uses : ./.github/actions/setup-venv
30- - name : Run quick tests
31- id : run-quick-tests
30+
31+ - name : Run non-ubuntu quick tests
32+ id : run-unit-tests
33+ if : matrix.os != 'ubuntu-latest'
34+ shell : bash
35+ run : >
36+ uv run pytest \
37+ -m "unit" \
38+ --junitxml=pytest-quick.xml \
39+ --cov=src tests \
40+ --log-level=DEBUG \
41+ --verbose
42+ - name : Run ubuntu quick tests
43+ id : run-quick-ubuntu-tests
44+ if : matrix.os == 'ubuntu-latest'
3245 shell : bash
3346 run : >
3447 uv run pytest \
@@ -39,20 +52,20 @@ jobs:
3952 --log-level=DEBUG \
4053 --verbose
4154
42- - name : Run slow tests (manual trigger)
43- if : github.event_name == 'workflow_dispatch'
55+ - name : Run slow tests
56+ if : matrix.os == 'ubuntu-latest' && github.event_name == 'workflow_dispatch'
4457 shell : bash
4558 run : >
4659 uv run pytest \
47- -m "slow and not full_pipeline " \
60+ -m "slow" \
4861 --runner=docker \
4962 --junitxml=pytest-slow.xml \
5063 --cov=src tests \
5164 --cov-append \
5265 --verbose
5366
54- - name : Run full pipeline tests (manual trigger)
55- if : github.event_name == 'workflow_dispatch' && inputs.e2e == true
67+ - name : Run full pipeline tests
68+ if : matrix.os == 'ubuntu-latest' && github.event_name == 'workflow_dispatch' && inputs.e2e == true
5669 shell : bash
5770 run : >
5871 uv run pytest \
6376 --cov-append \
6477 --verbose
6578
66- - name : Generate coverage report
67- shell : bash
68- run : >
69- uv run pytest \
70- --cov-report=term-missing:skip-covered \
71- --cov-report=xml:coverage.xml \
72- --cov=src
73-
74- - name : Upload coverage to Codecov
75- uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
76- with :
77- token : ${{ secrets.CODECOV_TOKEN }}
78- files : ./coverage.xml
79- verbose : true
80-
8179 ruff :
8280 runs-on : ubuntu-latest
8381 steps :
0 commit comments