summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-05-01 17:44:08 +0200
committerNejc Habjan <hab.nejc@gmail.com>2021-05-01 17:44:08 +0200
commitdfa40c1ef85992e85c1160587037e56778ab49c0 (patch)
tree923d4015aea8dbf0ffe4036d6b2cb00a4c9c6c50
parentf875786ce338b329421f772b181e7183f0fcb333 (diff)
downloadgitlab-dfa40c1ef85992e85c1160587037e56778ab49c0.tar.gz
style: clean up test run config
-rw-r--r--tox.ini13
1 files changed, 7 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 5653270..42dd639 100644
--- a/tox.ini
+++ b/tox.ini
@@ -66,21 +66,22 @@ commands = python setup.py build_sphinx
[testenv:cover]
commands =
- pytest --cov gitlab --cov-report term --cov-report html \
+ pytest --cov --cov-report term --cov-report html \
--cov-report xml gitlab/tests {posargs}
[coverage:run]
omit = *tests*
+source = gitlab
+
+[pytest]
+script_launch_mode = subprocess
[testenv:cli_func_v4]
deps = -r{toxinidir}/docker-requirements.txt
commands =
- pytest --cov gitlab --cov-report term --cov-report html --cov-report xml \
- --script-launch-mode=subprocess \
- tools/functional/cli {posargs}
+ pytest --cov --cov-report xml tools/functional/cli {posargs}
[testenv:py_func_v4]
deps = -r{toxinidir}/docker-requirements.txt
commands =
- pytest --cov gitlab --cov-report term --cov-report html --cov-report xml \
- tools/functional/api {posargs}
+ pytest --cov --cov-report xml tools/functional/api {posargs}