File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313jobs :
1414 tests :
15- name : ${{ matrix.python }}
15+ name : py ${{ matrix.python }} unit tests
1616 runs-on : ubuntu-latest
1717 strategy :
1818 fail-fast : false
@@ -23,17 +23,28 @@ jobs:
2323 - ' 3.11'
2424 steps :
2525 - uses : actions/checkout@v4
26- - name : Install Poetry
27- uses : snok/install-poetry@v1
28- - uses : actions/setup-python@v5
26+ - name : Install uv
27+ uses : astral-sh/setup-uv@v3
2928 with :
30- python-version : ${{ matrix.python }}
31- cache : ' poetry'
32- - name : Install dependencies and run tests
33- run : |
34- poetry --version
35- poetry install
36- poetry run pytest --showlocals --cov --cov-fail-under=100 --cov-report term:skip-covered
29+ enable-cache : true
30+ - name : Install Python ${{ matrix.python }}
31+ run : uv python install ${{ matrix.python }}
32+ - name : Run tests
33+ run : uv run pytest --showlocals
34+
35+ minversions :
36+ name : minimum dependency versions
37+ runs-on : ubuntu-latest
38+ steps :
39+ - uses : actions/checkout@v4
40+ - name : Install uv
41+ uses : astral-sh/setup-uv@v3
42+ with :
43+ enable-cache : true
44+ - name : Install minimum dependencies
45+ run : uv sync --resolution=lowest-direct
46+ - name : Run tests
47+ run : uv run pytest --showlocals
3748
3849 style :
3950 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments