2727
2828 - name : Install uv
2929 uses : astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
30- with :
31- enable-cache : true
32- cache-dependency-glob : " uv.lock"
33-
34- - name : " Set up Python"
35- uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
36- with :
37- python-version-file : " .python-version"
3830
3931 - name : Install the project
4032 run : uv sync --group nox
@@ -58,25 +50,13 @@ jobs:
5850
5951 - name : Install uv
6052 uses : astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
61- with :
62- enable-cache : true
63- cache-dependency-glob : " uv.lock"
64-
65- - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
6653 with :
6754 python-version : ${{ matrix.python-version }}
68- allow-prereleases : true
69-
70- - name : Set up Python ${{ matrix.python-version }}
71- run : uv python install ${{ matrix.python-version }}
72-
73- - name : Install the project
74- run : uv sync --group test
7555
7656 - name : Test package
7757 run : >-
78- uv run pytest -ra --cov --cov-report=xml --cov-report=term
79- --durations=20
58+ uv run --group test pytest -ra --cov --cov-report=xml
59+ --cov-report=term -- durations=20
8060
8161 - name : Upload coverage report
8262 uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
@@ -99,19 +79,12 @@ jobs:
9979 - name : Install uv
10080 uses : astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
10181 with :
102- enable-cache : true
103- cache-dependency-glob : " uv.lock"
104-
105- - name : Set up Python ${{ matrix.python-version }}
106- run : uv python install ${{ matrix.python-version }}
107-
108- - name : Install the project
109- run : uv sync --group test --resolution lowest-direct
82+ python-version : ${{ matrix.python-version }}
11083
11184 - name : Test package
11285 run : >-
113- uv run pytest -ra --cov --cov-report=xml --cov-report=term
114- --durations=20
86+ uv run --group test --resolution lowest-direct pytest --cov
87+ --cov-report=xml --cov-report=term -- durations=20
11588
11689 - name : Upload coverage report
11790 uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
0 commit comments