@@ -13,38 +13,36 @@ jobs:
1313
1414 steps :
1515 # ----------------------------------------------
16- # ---- Checkout and install poetry and python
16+ # ---- Checkout and install uv and python
1717 # ----------------------------------------------
1818
1919 - uses : actions/checkout@v4
20- - name : Install poetry
21- run : pipx install poetry
22- - uses : actions/setup-python@v5
20+ - name : Install uv
21+ uses : astral-sh/setup-uv@v4
2322 with :
24- python-version : ${{ matrix.python-version }}
25- cache : ' poetry'
23+ enable-cache : true
24+ - name : Set up Python ${{ matrix.python-version }}
25+ run : uv python install ${{ matrix.python-version }}
2626
2727 # ----------------------------------------------
2828 # ---- Install dependencies
2929 # ----------------------------------------------
3030
31- - name : Poetry install
32- run : poetry install
31+ - name : uv install
32+ run : uv sync --all-extras --dev
3333
3434 # ----------------------------------------------
3535 # ---- Show installation details
3636 # ----------------------------------------------
3737
38- - name : poetry --version
39- run : poetry --version
40- - name : poetry run python --version
41- run : poetry run python --version
38+ - name : uv --version
39+ run : uv --version
40+ - name : uv run python --version
41+ run : uv run python --version
4242 - name : ls -lah
4343 run : ls -lah
44- - name : poetry show
45- run : poetry show
46- - name : poetry show --tree
47- run : poetry show --tree
44+ - name : uv tree
45+ run : uv tree
4846
4947 # ----------------------------------------------
5048 # ---- Pre-Checks
6260 # ----------------------------------------------
6361
6462 - name : 🚀 Run tests with code coverage report
65- run : poetry run pytest --cov=dictdatabase --cov-report term-missing
63+ run : uv run pytest --cov=flask_squeeze --cov-report term-missing
6664
6765 # ----------------------------------------------
6866 # ---- Save coverage artifact
@@ -113,7 +111,7 @@ jobs:
113111 # ----------------------------------------------
114112
115113 - name : Verify Changed Files
116- uses : tj-actions/verify-changed-files@v16
114+ uses : tj-actions/verify-changed-files@v17
117115 id : changed_files
118116 with :
119117 files : assets/coverage.svg
0 commit comments