Skip to content

Commit bfa5db8

Browse files
committed
add tox.ini
1 parent 1776d9e commit bfa5db8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

tox.ini

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[tox]
2+
envlist = py{27,36,37,38,39}-{linux,windows}
3+
4+
[gh-actions]
5+
python =
6+
2.7: py27
7+
3.6: py36
8+
3.7: py37
9+
3.8: py38
10+
3.9: py39
11+
12+
[gh-actions:env]
13+
PLATFORM =
14+
ubuntu-latest: linux
15+
windows-latest: windows
16+
17+
[testenv]
18+
deps =
19+
pytest
20+
commands = {envpython} -m pytest
21+
passenv = GITHUB_ACTIONS

0 commit comments

Comments
 (0)