mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 08:29:59 +03:00
Single line to have tox pick up TOXENV
This commit is contained in:
parent
fc0ba0f0b3
commit
9e8d32768c
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
@ -42,8 +42,7 @@ jobs:
|
|||
- 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
|
||||
TOXENV=$(tox --listenvs | grep "^py$ENV_PREFIX" | tr '\n' ',') tox
|
||||
|
||||
- name: Run extra tox targets
|
||||
if: ${{ matrix.python-version == '3.9' }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user