@@ -7,6 +7,9 @@ defaults:
77 run :
88 shell : bash
99
10+ env :
11+ UV_LOCKED : 1
12+
1013jobs :
1114 test :
1215 runs-on : ubuntu-latest
@@ -30,21 +33,15 @@ jobs:
3033 uses : actions/setup-python@v5
3134 with :
3235 python-version : ${{ matrix.python-version }}
33- cache : pipenv
34-
35- - name : Install pipenv
36- run : pip install pipenv
3736
38- # we have to check this first because
39- # installing autofixes the lock
40- - name : Check Pipfile.lock
41- run : pipenv verify
37+ - name : Install the latest version of uv
38+ uses : astral-sh/setup-uv@v6
4239
4340 - name : Install dependencies
44- run : pipenv install --categories="packages dev-packages ci" --deploy
41+ run : uv sync --group ci
4542
4643 - name : Run Tests
47- run : pipenv run pytest --cov=tin
44+ run : uv run pytest --cov=tin
4845
4946 - name : Run Coveralls
5047 uses : AndreMiras/coveralls-python-action@develop
@@ -77,15 +74,13 @@ jobs:
7774 uses : actions/setup-python@v5
7875 with :
7976 python-version : ${{ matrix.python-version }}
80- cache : pipenv
8177
82- - name : Install pipenv
83- run : pip install pipenv
78+ - name : Install the latest version of uv
79+ uses : astral-sh/setup-uv@v6
8480
8581 - name : Install dependencies
86- run : pipenv install --dev
82+ run : uv sync
8783
8884 - name : Build Docs
89- run : |
90- cd docs
91- pipenv run make html SPHINXOPTS="-W --keep-going"
85+ run : uv run make html SPHINXOPTS="-W --keep-going"
86+ working-directory : docs
0 commit comments