Skip to content

Commit

Permalink
Try to define tox version by python version.
Browse files Browse the repository at this point in the history
  • Loading branch information
nzlosh committed Sep 22, 2023
1 parent f963941 commit 6890b7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 6890b7e

Please sign in to comment.