@@ -13,12 +13,11 @@ jobs:
1313 fail-fast : false
1414 matrix :
1515 python-version :
16- - " 3.8"
17- - " 3.9"
1816 - " 3.10"
1917 - " 3.11"
2018 - " 3.12"
2119 - " 3.13"
20+ - " 3.14"
2221 os : [ubuntu-latest, macos-latest, windows-latest]
2322 include :
2423 - python-version : " pypy-3.9"
@@ -33,27 +32,27 @@ jobs:
3332 with :
3433 python-version : ${{ matrix.python-version }}
3534 allow-prereleases : true
35+ - name : Set up uv
36+ uses : astral-sh/setup-uv@v5
3637 - name : Install dependencies
3738 run : |
38- python -m pip install --upgrade pip twine
39- pip install poetry
40- poetry install
39+ python -m pip install --upgrade pip
40+ uv sync --group dev
4141 - name : Run test suite
4242 run : |
43- poetry run py.test -v --cov=tinydb
43+ uv run py.test -v --cov=tinydb
4444 - name : Perform type check
4545 run : |
46- poetry run pip install pytest-mypy
47- poetry run pytest --mypy -m mypy tinydb tests
46+ uv run pytest --mypy -m mypy tinydb tests
4847 - name : Verify dist package format
4948 run : |
50- poetry build
51- twine check dist/*
52- if : ${{ contains(matrix.python-version, '3.12 ') }}
49+ uv build
50+ uv run --with twine twine check dist/*
51+ if : ${{ contains(matrix.python-version, '3.14 ') }}
5352 - name : Upload coverage result
5453 if : ${{ env.COVERALLS_REPO_TOKEN != 'windows-latest' }}
5554 env :
5655 COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
5756 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5857 run : |
59- poetry run coveralls
58+ uv run coveralls
0 commit comments