From 209eb8322d409a75075aaa4ea88623ad7a8a31d0 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 13 Dec 2024 08:58:57 -0500 Subject: [PATCH] chore(ci): Use tox-uv to run tests --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8c58288f..bf93cef2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,6 +57,8 @@ jobs: run: | sudo apt update sudo apt install -y --no-install-recommends graphviz + - name: Install the latest version of uv + uses: astral-sh/setup-uv@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: @@ -65,14 +67,12 @@ jobs: run: python -c "import sys; print(sys.version)" - name: Install tox run: | - python -m pip install --upgrade pip - python -m pip install tox tox-gh-actions + uv tool install --with=tox-uv --with=tox-gh-actions tox - name: Show tox config run: tox c - name: Run tox run: tox -v --exit-and-dump-after 1200 - uses: codecov/codecov-action@v5 with: - file: coverage.xml token: ${{ secrets.CODECOV_TOKEN }} if: ${{ always() }}