forked from hukkin/tomli
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
63 lines (50 loc) · 1.81 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[tox]
env_list = py{37,38,39,310,311,312} # Hatchling (pyproject.toml)
# warns Python 3.5 is deprecated,
# and something doesn't like
# Python 3.6 either.
# Python 3 only. This version of tox / virtualenv under
# Python 3.12 on Windows, when asked to set up a testenv
# for python2.7 just uses Python 3.12 (no indication of
# this is provided ot the user)
#
# Fortunately there are no deps, and little use is made of
# env variables in testing, so python 2 and iron python can
# just be tested in a global installation if needs be.
#
# A work around for this using invoke to run the tests instead
# of tox is in the pipeline.
minversion = 4.4.11
ignore_basepython_conflict = true
[testenv:py312]
description = run the tests with pytest
deps = pytest
commands = pytest {tty:--color=yes} {posargs}
[testenv:iron27]
description = run the tests with unittest # install_command =
basepython = C:\Program Files\IronPython 2.7\ipy.exe
commands = python -m unittest discover
[testenv:py27]
description = run the tests with unittest # install_command =
basepython = C:\Python27\python.exe
commands = python -m unittest discover
[testenv:py311]
description = run the tests with pytest
deps = pytest>=4.6
commands = pytest {tty:--color=yes} {posargs}
[testenv:py310]
description = run the tests with pytest
deps = pytest>=4.6
commands = pytest {tty:--color=yes} {posargs}
[testenv:py39]
description = run the tests with pytest
deps = pytest>=4.6
commands = pytest {tty:--color=yes} {posargs}
[testenv:py38]
description = run the tests with pytest
deps = pytest>=4.6
commands = pytest {tty:--color=yes} {posargs}
[testenv:py37]
description = run the tests with pytest
deps = pytest>=4.6
commands = pytest {tty:--color=yes} {posargs}