1
1
[tox]
2
2
min_version = 4.0
3
- env_list = format, test_pydantic1, test_pydantic2, type_pydantic1 , type_pydantic2, lint, py{3.9,3.10,3.11}
3
+ env_list = format, test_pydantic1, type_pydantic1, test_pydantic2 , type_pydantic2, lint, py{3.9,3.10,3.11}
4
4
5
5
[gh-actions]
6
6
python =
7
7
3.9: py39
8
8
3.10: py310
9
- 3.11: py311, type , format, lint
9
+ 3.11: py311, test_pydantic1, type_pydantic1, test_pydantic2, type_pydantic2 , format, lint
10
10
11
11
[testenv:test_pydantic1]
12
12
labels = core
@@ -16,6 +16,13 @@ commands_pre =
16
16
poetry add pydantic^1
17
17
commands = poetry run pytest -vv tests
18
18
19
+ [testenv:type_pydantic1]
20
+ allowlist_externals = poetry
21
+ commands_pre =
22
+ poetry install --no-root --all-extras
23
+ poetry add pydantic^1
24
+ commands = poetry run mypy openapi_pydantic tests
25
+
19
26
[testenv:test_pydantic2]
20
27
labels = core
21
28
allowlist_externals = poetry
@@ -24,13 +31,6 @@ commands_pre =
24
31
poetry add ' pydantic>=1.8'
25
32
commands = poetry run pytest -vv tests
26
33
27
- [testenv:type_pydantic1]
28
- allowlist_externals = poetry
29
- commands_pre =
30
- poetry install --no-root --all-extras
31
- poetry add pydantic^1
32
- commands = poetry run mypy openapi_pydantic tests
33
-
34
34
[testenv:type_pydantic2]
35
35
allowlist_externals = poetry
36
36
commands_pre =
0 commit comments