diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6424d03..76a826b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -36,4 +36,4 @@ jobs: key: ${{ runner.os }}-${{ matrix.python-version }}-tox-${{ hashFiles('pyproject.toml') }} - name: Test - run: uvx --with tox-gh-actions --with tox-uv tox -v + run: uvx --python ${{ matrix.python-version }} --with tox-gh-actions --with tox-uv tox -v diff --git a/tox.ini b/tox.ini index 21c6d81..634796c 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ envlist = py{310,311,312,313,314,314t,315}-pytest{7,8,9},pypy3,check,format [testenv] commands = pytest {posargs:tests} runner = uv-venv-runner +requires = tox-uv deps = pytest7: pytest>=7.0.0,<8.0.0 pytest8: pytest>=8.0.0,<9.0.0