diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 64ff9029..9cb169ba 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -17,6 +17,9 @@ jobs: strategy: matrix: python-version: ["3.6.15", "3.8.18"] + env: + TOXVERS_3.6.15: "3.2.8" + TOXVERS_3.8.18: "4.6.4" steps: - name: Checkout repository uses: actions/checkout@v4 @@ -27,7 +30,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install tox==3.2.8 tox-gh-actions + pip install tox==$TOXVERS_${{ matrix.python-version }} tox-gh-actions - name: "Run tox for ${{ matrix.python-version }}" run: | tox