1- # Generated from:
2- # https://github.com/zopefoundation/meta/tree/master/config /pure-python
1+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta /pure-python
33name : tests
44
55on :
@@ -24,48 +24,40 @@ jobs:
2424 config :
2525 # [Python version, tox env]
2626 - ["3.11", "release-check"]
27- - ["3.9", "py39"]
2827 - ["3.10", "py310"]
2928 - ["3.11", "py311"]
3029 - ["3.12", "py312"]
3130 - ["3.13", "py313"]
32- - ["pypy-3.10", "pypy3"]
31+ - ["3.14", "py314"]
32+ - ["pypy-3.11", "pypy3"]
3333 - ["3.11", "coverage"]
3434
3535 runs-on : ${{ matrix.os[1] }}
3636 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
3737 name : ${{ matrix.config[1] }}
3838 steps :
39- - uses : actions/checkout@v4
39+ - uses : actions/checkout@v6
4040 with :
4141 persist-credentials : false
42- - name : Set up Python
43- uses : actions/setup-python@v5
42+ - name : Install uv + caching
43+ 44+ uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244
4445 with :
46+ enable-cache : true
47+ cache-dependency-glob : |
48+ setup.*
49+ tox.ini
4550 python-version : ${{ matrix.config[0] }}
46- allow-prereleases : true
47- - name : Pip cache
48- uses : actions/cache@v4
49- with :
50- path : ~/.cache/pip
51- key : ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}
52- restore-keys : |
53- ${{ runner.os }}-pip-${{ matrix.config[0] }}-
54- ${{ runner.os }}-pip-
55- - name : Install dependencies
56- run : |
57- python -m pip install --upgrade pip
58- pip install tox
51+ github-token : ${{ secrets.GITHUB_TOKEN }}
5952 - name : Test
6053 if : ${{ !startsWith(runner.os, 'Mac') }}
61- run : tox -e ${{ matrix.config[1] }}
54+ run : uvx --with tox-uv tox -e ${{ matrix.config[1] }}
6255 - name : Test (macOS)
6356 if : ${{ startsWith(runner.os, 'Mac') }}
64- run : tox -e ${{ matrix.config[1] }}-universal2
57+ run : uvx --with tox-uv tox -e ${{ matrix.config[1] }}-universal2
6558 - name : Coverage
6659 if : matrix.config[1] == 'coverage'
6760 run : |
68- pip install coveralls
69- coveralls --service=github
61+ uvx coveralls --service=github
7062 env :
7163 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments