chore(ci): add static type checking step (#583)

This commit is contained in:
Mamadou DICKO 2023-07-10 15:22:17 +02:00 committed by GitHub
parent 9e9f531c99
commit 9ee86222a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: Pytest
name: Backend Tests
on:
push:
@ -31,6 +31,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pyright
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
env:
@ -41,4 +42,8 @@ jobs:
JWT_SECRET_KEY: ${{secrets.JWT_SECRET_KEY}}
CI_TEST_API_KEY: ${{secrets.CI_TEST_API_KEY}}
run: |
pytest
pytest
- name: Static type checking with pyright
run: |
pyright