mirror of https://github.com/tiangolo/fastapi.git
🔧 Lint only in Python 3.7 and above (#4006)
This commit is contained in:
parent
292b8c8ce9
commit
eb1d68c789
|
|
@ -32,6 +32,9 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: flit install --symlink
|
||||
- name: Lint
|
||||
if: ${{ matrix.python-version != '3.6' }}
|
||||
run: bash scripts/lint.sh
|
||||
- name: Test
|
||||
run: bash scripts/test.sh
|
||||
- name: Upload coverage
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
set -e
|
||||
set -x
|
||||
|
||||
bash ./scripts/lint.sh
|
||||
# Check README.md is up to date
|
||||
python ./scripts/docs.py verify-readme
|
||||
export PYTHONPATH=./docs_src
|
||||
|
|
|
|||
Loading…
Reference in New Issue