From 0a69ff129df2da9bba347981c4ef632a8b7c2ddb Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 26 Feb 2024 20:24:13 -0700 Subject: [PATCH] use toxenv when it's defined to fix issues on pypy windows --- .github/workflows/ci-tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 1bb3290d..1a2f79f7 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -65,7 +65,13 @@ jobs: python-version: ${{ matrix.py }} architecture: ${{ matrix.architecture }} - run: pip install tox - - name: Running tox + - name: Running tox with specific toxenv + if: ${{ matrix.toxenv != '' }} + env: + TOXENV: ${{ matrix.toxenv }} + run: tox + - name: Running tox for current python version + if: ${{ matrix.toxenv == '' }} run: tox -e py coverage: runs-on: ubuntu-latest