Skip to content

Commit

Permalink
Use tox-py in CI (#7925)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored Apr 16, 2021
1 parent 67b5093 commit 010c8d4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,10 @@ jobs:
run: python -m pip install --upgrade pip setuptools virtualenv wheel

- name: Install dependencies
run: python -m pip install --upgrade codecov tox
run: python -m pip install --upgrade codecov tox tox-py

- name: Run tox targets for ${{ matrix.python-version }}
run: |
ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}")
TOXENV=$(tox --listenvs | grep "^py$ENV_PREFIX" | tr '\n' ',') tox
run: tox --py current

- name: Run extra tox targets
if: ${{ matrix.python-version == '3.9' }}
Expand Down

0 comments on commit 010c8d4

Please sign in to comment.