Skip to content

Commit 010c8d4

Browse files
authored
Use tox-py in CI (#7925)
1 parent 67b5093 commit 010c8d4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ jobs:
3737
run: python -m pip install --upgrade pip setuptools virtualenv wheel
3838

3939
- name: Install dependencies
40-
run: python -m pip install --upgrade codecov tox
40+
run: python -m pip install --upgrade codecov tox tox-py
4141

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

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

0 commit comments

Comments
 (0)