mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-27 10:18:11 -04:00
🔧 Lint only in Python 3.7 and above (#4006)
This commit is contained in:
committed by
GitHub
parent
292b8c8ce9
commit
eb1d68c789
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user