File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change
1
+ # https://tox.readthedocs.io/en/latest/example/basic.html#compressing-dependency-matrix
1
2
[tox]
2
- envlist = pre-commit,py37
3
+ envlist = py{37,38}-graphene{2,21}-pydantic{0,1}
3
4
isolated_build = true
4
5
5
6
[testenv]
6
7
whitelist_externals = poetry
8
+ deps =
9
+ graphene2: graphene>=2.0,<2.1
10
+ graphene21: graphene>=2.1,<3.0
11
+ pydantic0: pydantic>=0.26,<1.0
12
+ pydantic1: pydantic>=1.0,<2.0
13
+ pytest
14
+ pytest-cov
7
15
commands =
8
- poetry install -v
9
16
pytest tests/ --cov-report =term-missing --cov =graphene_pydantic {posargs}
10
- mypy --ignore-missing-imports --no-strict-optional -m graphene_pydantic
11
- black --check graphene_pydantic
12
17
13
- [testenv:pre-commit]
14
- basepython = python3.7
15
- whitelist_externals = poetry
16
- commands =
17
- poetry install -v
18
- pre-commit {posargs:run --all-files}
You can’t perform that action at this time.
0 commit comments