Skip to content

Commit 9ee8622

Browse files
authored
chore(ci): add static type checking step (QuivrHQ#583)
1 parent 9e9f531 commit 9ee8622

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pytest.yml renamed to .github/workflows/backend-tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pytest
1+
name: Backend Tests
22

33
on:
44
push:
@@ -31,6 +31,7 @@ jobs:
3131
run: |
3232
python -m pip install --upgrade pip
3333
pip install pytest
34+
pip install pyright
3435
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3536
- name: Test with pytest
3637
env:
@@ -41,4 +42,8 @@ jobs:
4142
JWT_SECRET_KEY: ${{secrets.JWT_SECRET_KEY}}
4243
CI_TEST_API_KEY: ${{secrets.CI_TEST_API_KEY}}
4344
run: |
44-
pytest
45+
pytest
46+
47+
- name: Static type checking with pyright
48+
run: |
49+
pyright

0 commit comments

Comments
 (0)