forked from pytest-dev/pytest-factoryboy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
40 lines (34 loc) · 979 Bytes
/
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
[tox]
distshare = {homedir}/.tox/distshare
envlist = py38-pytest{46,50,51,52,53,54,60,61,62,latest,main},
py{36,37,39,310}-pytestlatest
[testenv]
commands = pytest --junitxml={envlogdir}/junit-{envname}.xml {posargs:tests}
deps =
pytestlatest: pytest
pytestmain: git+https://github.com/pytest-dev/pytest.git@main
pytest62: pytest~=6.2.0
pytest61: pytest~=6.1.0
pytest60: pytest~=6.0.0
pytest54: pytest~=5.4.0
pytest53: pytest~=5.3.0
pytest52: pytest~=5.2.0
pytest51: pytest~=5.1.0
pytest50: pytest~=5.0.0
pytest46: pytest~=4.6.0
-r{toxinidir}/requirements-testing.txt
[testenv:py38-pytestmain]
# allow failures of tests run for `pytest` installed from `main` branch
ignore_outcome = true
[testenv:py310-pytestlatest]
# allow failures of tests run with unstable python 3.10
ignore_outcome = true
[pytest]
addopts = -vv -l
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310