Skip to content

Commit

Permalink
Add new sphinx/pydantic versions to test matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mansenfranzen committed Dec 27, 2023
1 parent fbac8e8 commit e2edc49
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
fail-fast: false
matrix:
include:
- python_version: "3.7"
pydantic_version: "20"
sphinx_version: "40"
- python_version: "3.8"
pydantic_version: "20"
sphinx_version: "45"
Expand All @@ -35,8 +32,19 @@ jobs:
sphinx_version: "70"
- python_version: "3.11"
pydantic_version: "21"
sphinx_version: "70"

sphinx_version: "71"
- python_version: "3.11"
pydantic_version: "22"
sphinx_version: "71"
- python_version: "3.11"
pydantic_version: "23"
sphinx_version: "71"
- python_version: "3.11"
pydantic_version: "24"
sphinx_version: "72"
- python_version: "3.12"
pydantic_version: "25"
sphinx_version: "72"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
Expand Down
10 changes: 8 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39,310,311}-pydantic{20,21,latest}-sphinx{40,45,53,62,70,latest}, latest, development, no_erdantic, linter
envlist = py{37,38,39,310,311,312}-pydantic{20,21,22,23,24,25,latest}-sphinx{40,45,53,62,70,71,72,latest}, latest, development, no_erdantic, linter
isolated_build = True

[testenv]
Expand All @@ -12,17 +12,23 @@ commands =
coverage report -m
coverage xml

[testenv:pydantic{20,21,latest}-sphinx{40,45,53,62,70,latest}]
[testenv:pydantic{20,21,22,23,24,25,latest}-sphinx{40,45,53,62,70,71,72,latest}]
description = "Test specific historical stable versions."
deps =
pydantic20: pydantic~=2.0.0
pydantic21: pydantic~=2.1.0
pydantic22: pydantic~=2.2.0
pydantic23: pydantic~=2.3.0
pydantic24: pydantic~=2.4.0
pydantic25: pydantic~=2.5.0
pydanticlatest: pydantic
sphinx40: sphinx~=4.0.0
sphinx45: sphinx~=4.5.0
sphinx53: sphinx~=5.3.0
sphinx62: sphinx~=6.2.0
sphinx70: sphinx~=7.0.0
sphinx71: sphinx~=7.1.0
sphinx72: sphinx~=7.2.0
sphinxlatest: sphinx

[testenv:latest]
Expand Down

0 comments on commit e2edc49

Please sign in to comment.