Skip to content

Commit ebd5534

Browse files
committed
add test deps to setup.py
1 parent 4ad1cee commit ebd5534

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def get_long_description():
3434
],
3535
extras_require={
3636
'docs': ['sphinx>=2.3, <3', 'Pallets-Sphinx-Themes', 'm2r'],
37-
'tests': ['pytest'],
37+
'tests': ['coverage <6', 'pytest', 'pytest-cov', 'coveralls'],
3838
},
3939
url='https://github.com/click-contrib/click-option-group',
4040
project_urls={

tox.ini

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
[tox]
22
envlist = py{36,37,38}-pytest-coverage, flake8
3+
skipsdist = True
34

45
[testenv]
5-
deps = pytest
6-
commands = pytest --color=yes -v {posargs}
6+
commands =
7+
pip install -e .[tests]
8+
pytest --color=yes -v {posargs}
79

810
[testenv:py37-pytest-coverage]
9-
usedevelop = true
1011
passenv = TRAVIS TRAVIS_*
11-
deps =
12-
pytest
13-
coverage <6
14-
pytest-cov
15-
coveralls
1612
commands =
13+
pip install -e .[tests]
1714
pytest --cov=click_option_group --color=yes -v {posargs}
1815
coveralls
1916

0 commit comments

Comments
 (0)