88
99env :
1010 UV_NO_SYNC : 1
11+ PYTHON_VERSION : 3.13
1112
1213jobs :
1314 tests-full-install :
2627 with :
2728 python-version : ${{ matrix.python-version }}
2829 - name : Install default (with full options) and test dependencies
29- run : uv pip install --python-version=${{ inputs .python-version }} '.[full]' --group test
30+ run : uv pip install --python-version=${{ matrix .python-version }} '.[full]' --group test
3031 - name : Run unit and doc tests with coverage report
3132 run : uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml
3233 - name : Upload results to Codecov
4243 - name : Set up uv
4344 uses : astral-sh/setup-uv@v5
4445 with :
45- python-version : ' 3.13 '
46+ python-version : ${{ PYTHON_VERSION }}
4647 - name : Install default (without any option) and test dependencies
47- run : uv pip install --python-version=${{ inputs.python-version }} . --group test
48+ run : uv pip install --python-version=${{ PYTHON_VERSION }} . --group test
4849 - name : Run unit and doc tests with coverage report
4950 run : |
5051 uv run pytest -W error tests/unit tests/doc \
@@ -67,10 +68,10 @@ jobs:
6768 - name : Set up uv
6869 uses : astral-sh/setup-uv@v5
6970 with :
70- python-version : ' 3.13 '
71+ python-version : ${{ PYTHON_VERSION }}
7172
7273 - name : Install dependencies (default with full options & doc)
73- run : uv pip install --python-version=${{ inputs.python-version }} '.[full]' --group doc
74+ run : uv pip install --python-version=${{ PYTHON_VERSION }} '.[full]' --group doc
7475
7576 - name : Build Documentation
7677 working-directory : docs
@@ -86,10 +87,10 @@ jobs:
8687 - name : Set up uv
8788 uses : astral-sh/setup-uv@v5
8889 with :
89- python-version : ' 3.13 '
90+ python-version : ${{ PYTHON_VERSION }}
9091
9192 - name : Install dependencies (default with full options & check)
92- run : uv pip install --python-version=${{ inputs.python-version }} '.[full]' --group check
93+ run : uv pip install --python-version=${{ PYTHON_VERSION }} '.[full]' --group check
9394
9495 - name : Run mypy
9596 run : uv run mypy src/torchjd
0 commit comments