Skip to content

Commit 9d631a3

Browse files
authored
fix(ci): update fastapi tests (pydantic#3690)
* use python 3.10 to run fastapi tests * fix fastapi test call
1 parent 6f46a5a commit 9d631a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
- name: set up python
245245
uses: actions/setup-python@v2
246246
with:
247-
python-version: '3.7'
247+
python-version: '3.10'
248248

249249
- name: install
250250
run: make install-testing

tests/test_fastapi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ git checkout "${latest_tag}"
1212
pip install -U flit
1313
flit install
1414

15-
PYTHONPATH=./docs/src pytest
15+
./scripts/test.sh

0 commit comments

Comments
 (0)