mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-05 12:53:30 +03:00
Add pytest configs
This commit is contained in:
parent
f68069e99f
commit
23c145124f
3
tests/.configs/pytest-py27.ini
Normal file
3
tests/.configs/pytest-py27.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[pytest]
|
||||
testpaths = tests/unit
|
||||
python_files = test_*_py2_py3.py
|
3
tests/.configs/pytest-py34-py35.ini
Normal file
3
tests/.configs/pytest-py34-py35.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[pytest]
|
||||
testpaths = tests/unit
|
||||
python_files = test_*_py3.py
|
3
tests/.configs/pytest.ini
Normal file
3
tests/.configs/pytest.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[pytest]
|
||||
testpaths = tests/unit
|
||||
python_files = test_*_py3*.py
|
14
tox.ini
14
tox.ini
|
@ -2,9 +2,6 @@
|
|||
envlist=
|
||||
coveralls, pylint, flake8, pydocstyle, 2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3
|
||||
|
||||
[pytest]
|
||||
testpaths = tests/unit
|
||||
|
||||
[testenv]
|
||||
deps=
|
||||
pytest
|
||||
|
@ -21,7 +18,7 @@ extras=
|
|||
pydantic
|
||||
flask
|
||||
aiohttp
|
||||
commands = pytest
|
||||
commands = pytest -c tests/.configs/pytest.ini
|
||||
python_files = test_*_py3*.py
|
||||
|
||||
[testenv:coveralls]
|
||||
|
@ -45,8 +42,7 @@ deps=
|
|||
extras=
|
||||
yaml
|
||||
flask
|
||||
commands = pytest
|
||||
python_files = test_*_py2_py3.py
|
||||
commands = pytest -c tests/.configs/py27.ini
|
||||
|
||||
[testenv:3.5]
|
||||
deps=
|
||||
|
@ -55,7 +51,7 @@ deps=
|
|||
extras=
|
||||
yaml
|
||||
flask
|
||||
python_files = test_*_py3.py
|
||||
commands = pytest -c tests/.configs/pytest-py34-py35.ini
|
||||
|
||||
[testenv:pypy2]
|
||||
deps=
|
||||
|
@ -63,7 +59,7 @@ deps=
|
|||
extras=
|
||||
yaml
|
||||
flask
|
||||
python_files = test_*_py2_py3.py
|
||||
commands = pytest -c tests/.configs/py27.ini
|
||||
|
||||
[testenv:pypy3]
|
||||
deps=
|
||||
|
@ -75,7 +71,7 @@ deps=
|
|||
extras=
|
||||
yaml
|
||||
flask
|
||||
python_files = test_*_py2_py3.py
|
||||
commands = pytest -c tests/.configs/py27.ini
|
||||
|
||||
|
||||
[testenv:pylint]
|
||||
|
|
Loading…
Reference in New Issue
Block a user