|
3 | 3 | min_version = 3.7.0 |
4 | 4 | isolated_build = true |
5 | 5 | envlist = |
6 | | - py34-pytest{3.5, 3.x, 4.0, 4.x}-mypy{0.50, 0.5x, 0.60, 0.6x} |
7 | 6 | py35-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x} |
8 | 7 | py36-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x} |
9 | 8 | py37-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x} |
10 | 9 | py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.71, 0.7x} |
| 10 | + publish |
11 | 11 | static |
12 | 12 |
|
| 13 | +[gh-actions] |
| 14 | +python = |
| 15 | + 3.5: py35-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x} |
| 16 | + 3.6: py36-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x} |
| 17 | + 3.7: py37-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x} |
| 18 | + 3.8: py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.71, 0.7x}, publish, static |
| 19 | + |
13 | 20 | [testenv] |
14 | 21 | deps = |
15 | 22 | pytest3.5: pytest ~= 3.5.0 |
@@ -82,6 +89,15 @@ deps = |
82 | 89 | pytest-randomly ~= 2.1.1 |
83 | 90 | commands = py.test -p no:mypy --cov pytest_mypy --cov-fail-under 100 --cov-report term-missing {posargs:-n auto} tests |
84 | 91 |
|
| 92 | +[testenv:publish] |
| 93 | +passenv = TWINE_* |
| 94 | +deps = |
| 95 | + pep517 ~= 0.8.0 |
| 96 | + twine ~= 3.2.0 |
| 97 | +commands = |
| 98 | + {envpython} -m pep517.build --out-dir {distdir} . |
| 99 | + twine {posargs:check} {distdir}/* |
| 100 | + |
85 | 101 | [testenv:static] |
86 | 102 | deps = |
87 | 103 | bandit ~= 1.6.2 |
|
0 commit comments