Skip to content

Commit

Permalink
chore: remove old FastAPI versions from test pipelines, people should…
Browse files Browse the repository at this point in the history
… have upgraded by now :)
  • Loading branch information
JonasKs committed Oct 4, 2023
1 parent f26c6a7 commit 74d1113
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,10 @@ jobs:
fail-fast: false
matrix:
python-version: [ "3.11.4", "3.12.0" ]
fastapi-version: [ "0.68.0", "0.86.0", "0.95.0", "0.103.2"]
pydantic-version: [ "1.10.12", "2.4.2"]
fastapi-version: [ "0.103.2"]
pydantic-version: [ "1.10.13", "2.4.2"]
exclude:
# Don't test python 3.12 on old FastAPI versions
- python-version: "3.12.0-beta.4"
fastapi-version: "0.68.0"
- python-version: "3.12.0-beta.4"
fastapi-version: "0.86.0"
- fastapi-version: "0.68.0"
pydantic-version: "2.1.1"
- fastapi-version: "0.86.0"
pydantic-version: "2.1.1"
- fastapi-version: "0.95.0"
Expand Down Expand Up @@ -56,7 +50,7 @@ jobs:
- name: Install package
run: poetry install --no-interaction
- name: Remove pydantic-settings
if: matrix.pydantic-version == '1.10.12'
if: matrix.pydantic-version == '1.10.13'
run: |
source .venv/bin/activate
poetry remove pydantic-settings
Expand Down

0 comments on commit 74d1113

Please sign in to comment.