diff --git a/run-tests.sh b/run-tests.sh index 3b169ef..49e9729 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -55,7 +55,7 @@ check_sphinx () { } check_pytest () { - python setup.py test + pytest } check_all () { diff --git a/setup.cfg b/setup.cfg index b84350f..8d66ba8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,9 +6,6 @@ # REANA is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. -[aliases] -test = pytest - [build_sphinx] source-dir = docs/ build-dir = docs/_build diff --git a/tox.ini b/tox.ini index 9904a69..eaf205d 100644 --- a/tox.ini +++ b/tox.ini @@ -5,9 +5,9 @@ # under the terms of the MIT License; see LICENSE file for more details. [tox] -envlist = py36, py37, py38, py39, py310, py311, py312 +envlist = py38, py39, py310, py311, py312 [testenv] deps = pytest pytest-cov -commands = {envpython} setup.py test +commands = pytest {posargs}