55 name : Test
66 strategy :
77 matrix :
8- python-version : ["3.10 .x", "3.11 .x", "3.12.x", "3.13 .x"]
8+ python-version : ["3.12 .x", "3.13 .x", "3.14 .x"]
99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout code
@@ -16,25 +16,23 @@ jobs:
1616 with :
1717 python-version : ${{ matrix.python-version }}
1818
19- - name : Install Poetry
20- uses : snok/install-poetry@v1
21- with :
22- virtualenvs-in-project : true
19+ - name : Install uv
20+ uses : astral-sh/setup-uv@v7
2321
2422 - name : Initialize environment
25- run : poetry install
23+ run : uv sync --locked --all-groups
2624
2725 - name : Run black
28- run : poetry run black temba_client
26+ run : uv run black temba_client
2927
3028 - name : Run ruff
31- run : poetry run ruff check temba_client
29+ run : uv run ruff check temba_client
3230
3331 - name : Run isort
34- run : poetry run isort temba_client
32+ run : uv run isort temba_client
3533
3634 - name : Run tests
37- run : poetry run nose2 -C --coverage temba_client --coverage-report term --coverage-report xml
35+ run : uv run nose2 -C --coverage temba_client --coverage-report term --coverage-report xml
3836
3937 - name : Upload coverage
4038 if : success()
@@ -54,11 +52,10 @@ jobs:
5452 - name : Install Python
5553 uses : actions/setup-python@v5
5654 with :
57- python-version : " 3.10 .x"
55+ python-version : " 3.12 .x"
5856
5957 - name : Publish release
6058 run : |
61- python -m pip install -U pip poetry
62- poetry build
63- poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
64- poetry publish
59+ python -m pip install -U pip uv
60+ uv build
61+ uv publish --token ${{ secrets.PYPI_TOKEN }}
0 commit comments