mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-09-17 09:42:29 +03:00
Python 3.6 support
This commit is contained in:
parent
c405c3edc5
commit
fdacc80f22
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -36,9 +36,18 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: python -m pip install --upgrade codecov tox
|
run: python -m pip install --upgrade codecov tox
|
||||||
|
|
||||||
|
- name: Install tox-py
|
||||||
|
if: ${{ matrix.python-version == '3.6' }}
|
||||||
|
run: python -m pip install --upgrade tox-py
|
||||||
|
|
||||||
- name: Run tox targets for ${{ matrix.python-version }}
|
- name: Run tox targets for ${{ matrix.python-version }}
|
||||||
|
if: ${{ matrix.python-version != '3.6' }}
|
||||||
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)
|
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)
|
||||||
|
|
||||||
|
- name: Run tox targets for ${{ matrix.python-version }}
|
||||||
|
if: ${{ matrix.python-version == '3.6' }}
|
||||||
|
run: tox --py current
|
||||||
|
|
||||||
- name: Run extra tox targets
|
- name: Run extra tox targets
|
||||||
if: ${{ matrix.python-version == '3.9' }}
|
if: ${{ matrix.python-version == '3.9' }}
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user