From 09e35d448ef99f55b516f1440b4548c64fb2e6cf Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sat, 16 Mar 2024 18:12:19 +0100 Subject: [PATCH] Use tox-uv in CI (#1266) * Use tox-uv in CI * uv is 3.8+ --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1e0ee40..f2e9bb89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,6 @@ jobs: - "3.11" - "3.12" - "3.13" - # - "pypy-3.7" - "pypy-3.8" - "pypy-3.9" - "pypy-3.10" @@ -64,6 +63,9 @@ jobs: python -Im pip install tox + - run: python -Im pip install tox-uv + if: matrix.python-version != '3.7' + - run: python -Im tox run -e ${{ env.TOX_PYTHON }}-tests - run: python -Im tox run -e ${{ env.TOX_PYTHON }}-mypy if: env.IS_PYPY == '0' && matrix.python-version != '3.7' @@ -124,7 +126,7 @@ jobs: python-version: "3.12" cache: pip - - run: python -Im pip install tox + - run: python -Im pip install tox-uv - run: python -Im tox run -e docs,changelog pyright: @@ -137,7 +139,7 @@ jobs: python-version-file: .python-version-default cache: pip - - run: python -Im pip install tox + - run: python -Im pip install tox-uv - run: python -Im tox run -e pyright install-dev: