@@ -7,14 +7,15 @@ envlist =
77 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}
88 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}
99 py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.71, 0.7x}
10+ publish
1011 static
1112
1213[gh-actions]
1314python =
1415 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}
1516 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}
1617 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}
17- 3.8: py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.71, 0.7x}, static
18+ 3.8: py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.71, 0.7x}, publish, static
1819
1920[testenv]
2021deps =
@@ -88,6 +89,15 @@ deps =
8889 pytest-randomly ~= 2.1.1
8990commands = py.test -p no:mypy --cov pytest_mypy --cov-fail-under 100 --cov-report term-missing {posargs:-n auto} tests
9091
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+
91101[testenv:static]
92102deps =
93103 bandit ~= 1.6.2
0 commit comments