mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 11:04:02 +03:00
This reverts commit 684522807f
.
This commit is contained in:
parent
684522807f
commit
38a74b42da
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
@ -9,7 +9,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
name: Python ${{ matrix.python-version }}
|
name: Python ${{ matrix.python-version }}
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
run: python -m pip install --upgrade pip setuptools virtualenv wheel
|
run: python -m pip install --upgrade pip setuptools virtualenv wheel
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: python -m pip install --upgrade tox
|
run: python -m pip install --upgrade codecov tox
|
||||||
|
|
||||||
- name: Install tox-py
|
- name: Install tox-py
|
||||||
if: ${{ matrix.python-version == '3.6' }}
|
if: ${{ matrix.python-version == '3.6' }}
|
||||||
|
@ -54,8 +54,5 @@ jobs:
|
||||||
tox -e base,dist,docs
|
tox -e base,dist,docs
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
- uses: codecov/codecov-action@v3.1.0
|
run: |
|
||||||
with:
|
codecov -e TOXENV,DJANGO
|
||||||
flags: unittests # optional
|
|
||||||
fail_ci_if_error: true # optional (default = false)
|
|
||||||
verbose: true # optional (default = false)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user