@@ -47,17 +47,17 @@ jobs:
4747 matrix :
4848 python-version : ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
4949 steps :
50- - uses : actions/cache@v4
50+ - uses : actions/cache@v5
5151 with :
5252 path : ~/.cache/pip
5353 key : ${{ runner.os }}-pip-${{ hashFiles('**/uv.lock') }}
5454 restore-keys : |
5555 ${{ runner.os }}-pip-
56- - uses : actions/checkout@v4
57- - uses : actions/setup-python@v5
56+ - uses : actions/checkout@v6
57+ - uses : actions/setup-python@v6
5858 with :
5959 python-version : ${{ matrix.python-version }}
60- - uses : astral-sh/setup-uv@v6
60+ - uses : astral-sh/setup-uv@v7
6161 - name : Install ODBC driver
6262 run : |
6363 curl -sSL -O https://packages.microsoft.com/config/ubuntu/$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2)/packages-microsoft-prod.deb
6868 run : make ci
6969 - name : Test FastAPI/Blacksheep Example
7070 run : |
71- PYTHONPATH=$DEST_FASTAPI uv run pytest $PYTEST_ARGS $DEST_FASTAPI/_tests.py
72- PYTHONPATH=$DEST_BLACKSHEEP uv run pytest $PYTEST_ARGS $DEST_BLACKSHEEP/_tests.py
73- PYTHONPATH=$DEST_SANIC uv run pytest $PYTEST_ARGS $DEST_SANIC/_tests.py
71+ PYTHONPATH=$DEST_FASTAPI uv run --frozen pytest $PYTEST_ARGS $DEST_FASTAPI/_tests.py
72+ PYTHONPATH=$DEST_BLACKSHEEP uv run --frozen pytest $PYTEST_ARGS $DEST_BLACKSHEEP/_tests.py
73+ PYTHONPATH=$DEST_SANIC uv run --frozen pytest $PYTEST_ARGS $DEST_SANIC/_tests.py
7474 env :
7575 DEST_FASTAPI : examples/fastapi
7676 DEST_BLACKSHEEP : examples/blacksheep
7979 PYTEST_ARGS : " -n auto --cov=tortoise --cov-append --cov-branch --tb=native -q"
8080 - name : Upload Coverage
8181 run : |
82- pip3 install --upgrade coveralls
83- coveralls --service=github
82+ uvx coveralls --service=github
8483 env :
8584 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8685 COVERALLS_FLAG_NAME : ${{ matrix.python-version }}
0 commit comments