mirror of
https://github.com/django/daphne.git
synced 2024-11-22 07:56:34 +03:00
Use tox-py in CI (#369)
This commit is contained in:
parent
e480917c1a
commit
36ce9fd1ed
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
@ -20,14 +20,16 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip wheel setuptools tox
|
python -m pip install --upgrade pip setuptools wheel
|
||||||
|
python -m pip install --upgrade tox tox-py
|
||||||
|
|
||||||
- name: Run tox targets for ${{ matrix.python-version }}
|
- name: Run tox targets for ${{ matrix.python-version }}
|
||||||
run: |
|
run: tox --py current
|
||||||
ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}")
|
|
||||||
TOXENV=$(tox --listenvs | grep "^py$ENV_PREFIX" | tr '\n' ',') python -m tox
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user