1717 fail-fast : false
1818 matrix :
1919 os : [ubuntu, macos, windows]
20- python-version : ["3.10", "3. 11", "3.12", "3.13"]
20+ python-version : ["3.11", "3.12", "3.13"]
2121 name : ${{ matrix.os }} - py${{ matrix.python-version }}
2222 runs-on : ${{ matrix.os }}-latest
2323 defaults :
@@ -27,47 +27,39 @@ jobs:
2727 - uses : actions/checkout@v4
2828 with :
2929 fetch-depth : 0
30- - uses : actions /setup-python@v5
30+ - uses : astral-sh /setup-uv@v6
3131 with :
32+ activate-environment : true
3233 python-version : ${{ matrix.python-version }}
33- - uses : astral-sh/setup-uv@v6
34- - run : uv pip install --quiet --system .[test]
34+ - run : uv sync -q --locked --no-default-groups --group test
3535 - run : template sys-info --developer
3636 - run : pytest template --cov=template --cov-report=xml --cov-config=pyproject.toml
3737 - uses : codecov/codecov-action@v5
3838 with :
39- files : ./coverage.xml
40- flags : unittests # optional
41- name : codecov-umbrella # optional
4239 token : ${{ secrets.CODECOV_TOKEN }}
43- verbose : true # optional (default = false)
4440
4541 pytest-pip-pre :
4642 timeout-minutes : 30
4743 strategy :
4844 fail-fast : false
4945 matrix :
50- python-version : ["3.11 "]
46+ python-version : ["3.13 "]
5147 name : pip pre-release - py${{ matrix.python-version }}
5248 runs-on : ubuntu-latest
5349 steps :
5450 - uses : actions/checkout@v4
5551 with :
5652 fetch-depth : 0
57- - uses : actions /setup-python@v5
53+ - uses : astral-sh /setup-uv@v6
5854 with :
55+ activate-environment : true
5956 python-version : ${{ matrix.python-version }}
60- - uses : astral-sh/setup-uv@v6
6157 - name : Install package
6258 run : |
63- uv pip install --quiet --system .[ test]
64- uv pip install --quiet --system --upgrade --prerelease allow --only-binary :all: -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
59+ uv sync -q --locked --no-default-groups --group test
60+ uv pip install -q --upgrade --prerelease allow --only-binary :all: -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
6561 - run : template sys-info --developer
6662 - run : pytest template --cov=template --cov-report=xml --cov-config=pyproject.toml
6763 - uses : codecov/codecov-action@v5
6864 with :
69- files : ./coverage.xml
70- flags : unittests # optional
71- name : codecov-umbrella # optional
7265 token : ${{ secrets.CODECOV_TOKEN }}
73- verbose : true # optional (default = false)
0 commit comments