Skip to content

Commit 209eb83

Browse files
committed
chore(ci): Use tox-uv to run tests
1 parent 66a61a0 commit 209eb83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
run: |
5858
sudo apt update
5959
sudo apt install -y --no-install-recommends graphviz
60+
- name: Install the latest version of uv
61+
uses: astral-sh/setup-uv@v4
6062
- name: Set up Python ${{ matrix.python-version }}
6163
uses: actions/setup-python@v5
6264
with:
@@ -65,14 +67,12 @@ jobs:
6567
run: python -c "import sys; print(sys.version)"
6668
- name: Install tox
6769
run: |
68-
python -m pip install --upgrade pip
69-
python -m pip install tox tox-gh-actions
70+
uv tool install --with=tox-uv --with=tox-gh-actions tox
7071
- name: Show tox config
7172
run: tox c
7273
- name: Run tox
7374
run: tox -v --exit-and-dump-after 1200
7475
- uses: codecov/codecov-action@v5
7576
with:
76-
file: coverage.xml
7777
token: ${{ secrets.CODECOV_TOKEN }}
7878
if: ${{ always() }}

0 commit comments

Comments
 (0)