diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-05-01 17:44:08 +0200 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-05-01 17:44:08 +0200 |
commit | dfa40c1ef85992e85c1160587037e56778ab49c0 (patch) | |
tree | 923d4015aea8dbf0ffe4036d6b2cb00a4c9c6c50 | |
parent | f875786ce338b329421f772b181e7183f0fcb333 (diff) | |
download | gitlab-dfa40c1ef85992e85c1160587037e56778ab49c0.tar.gz |
style: clean up test run config
-rw-r--r-- | tox.ini | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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} |