File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Test
22
33on :
44 push :
5- branches : main
5+ branches : [ main]
66 pull_request :
7- branches : main
7+ branches : [ main]
88 workflow_dispatch :
99
1010jobs :
@@ -22,16 +22,17 @@ jobs:
2222 with :
2323 python-version : ${{ matrix.python-version }}
2424
25+ - name : Setup uv
26+ uses : astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
27+
2528 - name : Install dependencies
26- run : |
27- python -m pip install --upgrade pip
28- pip install .[dev]
29+ run : uv sync --dev
2930
3031 - name : Run tests and collect coverage
31- run : |
32- coverage run --source=tests,cpp_linter_hooks -m pytest -vv
33- coverage report
34- coverage xml
32+ run : |-
33+ uv run coverage run --source=tests,cpp_linter_hooks -m pytest -vv
34+ uv run coverage report
35+ uv run coverage xml
3536 - uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5
3637 if : matrix.python-version == '3.13'
3738 with :
You can’t perform that action at this time.
0 commit comments