File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,25 +14,23 @@ jobs:
1414 - name : Checkout code
1515 uses : actions/checkout@v4
1616
17- - name : Install Poetry
18- uses : snok/install-poetry@v1
19- with :
20- virtualenvs-in-project : true
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v7
2119
2220 - name : Initialize environment
23- run : poetry install
21+ run : uv sync --locked --all-groups
2422
2523 - name : Run black
26- run : poetry run black temba_client
24+ run : uv run black temba_client
2725
2826 - name : Run ruff
29- run : poetry run ruff check temba_client
27+ run : uv run ruff check temba_client
3028
3129 - name : Run isort
32- run : poetry run isort temba_client
30+ run : uv run isort temba_client
3331
3432 - name : Run tests
35- run : poetry run nose2 -C --coverage temba_client --coverage-report term --coverage-report xml
33+ run : uv run nose2 -C --coverage temba_client --coverage-report term --coverage-report xml
3634
3735 - name : Upload coverage
3836 if : success()
5351
5452 - name : Publish release
5553 run : |
56- python -m pip install -U pip poetry
57- poetry build
58- poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
59- poetry publish
54+ python -m pip install -U pip uv
55+ uv build
56+ uv publish --token ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments