File tree Expand file tree Collapse file tree 1 file changed +13
-18
lines changed
Expand file tree Collapse file tree 1 file changed +13
-18
lines changed Original file line number Diff line number Diff line change 1010 UV_NO_SYNC : 1
1111 PYTHON_VERSION : 3.14
1212
13- x-common-steps :
14- - &checkout
15- name : Checkout repository
16- uses : actions/checkout@v4
17- - &setup-uv
18- name : Set up uv
19- uses : astral-sh/setup-uv@v5
20- with :
21- python-version : ${{ env.PYTHON_VERSION }}
22- - &upload-codecov
23- name : Upload results to Codecov
24- uses : codecov/codecov-action@v4
25- with :
26- token : ${{ secrets.CODECOV_TOKEN }}
27-
2813jobs :
2914 tests-full-install :
3015 name : Run tests with full install
@@ -38,13 +23,23 @@ jobs:
3823 PYTHON_VERSION : ${{ matrix.python-version }} # Override the PYTHON_VERSION of the global env
3924
4025 steps :
41- - *checkout
42- - *setup-uv
26+ - &checkout
27+ name : Checkout repository
28+ uses : actions/checkout@v4
29+ - &setup-uv
30+ name : Set up uv
31+ uses : astral-sh/setup-uv@v5
32+ with :
33+ python-version : ${{ env.PYTHON_VERSION }}
4334 - name : Install default (with full options) and test dependencies
4435 run : uv pip install --python-version=${{ env.PYTHON_VERSION }} -e '.[full]' --group test
4536 - name : Run unit and doc tests with coverage report
4637 run : uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml
47- - *upload-codecov
38+ - &upload-codecov
39+ name : Upload results to Codecov
40+ uses : codecov/codecov-action@v4
41+ with :
42+ token : ${{ secrets.CODECOV_TOKEN }}
4843
4944 tests-default-install :
5045 name : Run (most) tests with default install
You can’t perform that action at this time.
0 commit comments