1212 runs-on : ${{ matrix.os }}
1313 strategy :
1414 matrix :
15- python-version : ["3.8 ", "3.9 ", "3.10 ", "3.11 ", "3.12", "3.13 "]
15+ python-version : ["3.10 ", "3.11 ", "3.12 ", "3.13 ", "3.14 "]
1616 os : [ubuntu-latest, macos-latest, windows-latest]
1717
1818 steps :
@@ -22,28 +22,29 @@ jobs:
2222 with :
2323 python-version : ${{ matrix.python-version }}
2424 allow-prereleases : true
25+ - name : Set up uv
26+ uses : astral-sh/setup-uv@v4
27+ with :
28+ enable-cache : true
2529 - name : Install dependencies
2630 run : |
27- python -m pip install --upgrade pip
28- pip install poetry
29- poetry install
31+ uv sync --locked --dev
3032 - name : Configure Git user/email
3133 run : |
3234 git config --global user.email user@example.com
3335 git config --global user.name "Example User"
3436 - name : Run test suite
3537 run : |
36- poetry run python -m pytest -v --cov=PyGitUp
38+ uv run pytest -v --cov=PyGitUp
3739 shell : bash
3840 - name : Verify dist package format
3941 run : |
40- poetry build
41- poetry run pip install twine
42- poetry run twine check dist/*
42+ uv build
43+ uv tool run twine check dist/*
4344 if : matrix.os != 'windows-latest'
4445 - name : Upload coverage result
4546 if : github.repository_owner == 'msiemens'
4647 env :
4748 COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
4849 run : |
49- poetry run coveralls
50+ uv run coveralls
0 commit comments