1414 pull_request :
1515 branches :
1616
17- env :
18- POETRY_VERSION : 2.2.1
19- POLARS_SKIP_CPU_CHECK : true
20-
2117jobs :
2218 linting :
2319 name : Linting
2420 runs-on : ubuntu-latest
2521 steps :
2622 - uses : actions/checkout@v6
2723
28- - name : Set up Python 3.11
29- uses : actions /setup-python@v6
24+ - name : Set up Python 3.11 with uv
25+ uses : astral-sh /setup-uv@v7
3026 with :
31- python-version : 3.11
27+ python-version : ' 3.11'
3228
3329 - name : Linting
34- run : |
35- pip install poetry==$POETRY_VERSION poetry-plugin-export
36- poetry install --only=main,devops
37- poetry run inv lint
30+ run : uv run inv lint
3831
3932 tests :
4033 needs : linting
@@ -44,30 +37,24 @@ jobs:
4437 strategy :
4538 fail-fast : true
4639 matrix :
47- os : [ Ubuntu, MacOS, Windows ]
40+ os : [ ' Ubuntu', ' MacOS', ' Windows' ]
4841 python-version : [ '3.11', '3.12', '3.13', '3.14' ]
4942 experimental : [ false ]
5043 steps :
5144 - uses : actions/checkout@v6
5245
53- - name : Set up Python ${{ matrix.python-version }}
54- uses : actions /setup-python@v6
46+ - name : Set up Python ${{ matrix.python-version }} with uv
47+ uses : astral-sh /setup-uv@v7
5548 with :
5649 python-version : ${{ matrix.python-version }}
5750
58- - name : Install system deps
59- shell : bash
60- run : |
61- pip install nox
62- pip install poetry==$POETRY_VERSION poetry-plugin-export
63-
6451 - name : Run mypy with nox
6552 shell : bash
66- run : nox --force-color -s mypy-${{ matrix.python-version }}
53+ run : uv run nox --force-color -s mypy-${{ matrix.python-version }}
6754
6855 - name : Run tests with nox
6956 shell : bash
70- run : nox --force-color -s tests-${{ matrix.python-version }}
57+ run : uv run nox --force-color -s tests-${{ matrix.python-version }}
7158
7259 - name : Run safety check
7360 if : matrix.python-version == '3.11' && matrix.os == 'Ubuntu'
@@ -88,16 +75,10 @@ jobs:
8875 steps :
8976 - uses : actions/checkout@v6
9077
91- - name : Set up Python 3.11
92- uses : actions /setup-python@v6
78+ - name : Set up Python 3.14 with uv
79+ uses : astral-sh /setup-uv@v7
9380 with :
94- python-version : 3.11
95-
96- - name : Install system deps
97- shell : bash
98- run : |
99- pip install nox
100- pip install poetry==$POETRY_VERSION poetry-plugin-export
81+ python-version : ' 3.14'
10182
10283 - name : Download coverage data
10384 uses : actions/download-artifact@v8
10788
10889 - name : Create coverage report
10990 shell : bash
110- run : |
111- nox --force-color --session=coverage -- --fmt xml
91+ run : uv run nox --force-color --session=coverage -- --fmt xml
11292
11393 - name : Upload coverage report
11494 uses : codecov/codecov-action@v5.5.2
0 commit comments