From 3e58d5a0dbe61c5c97c628d243cb639a0b3dfd99 Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Tue, 30 Jul 2024 09:23:25 +0200 Subject: [PATCH] ci(pytest): invoke `pytest` directly instead of `setup.py test` (#214) Closes reanahub/reana#814 --- run-tests.sh | 2 +- setup.cfg | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index c2b52c7..48cd7c7 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -55,7 +55,7 @@ check_sphinx () { } check_pytest () { - python setup.py test + pytest } check_dockerfile () { diff --git a/setup.cfg b/setup.cfg index d465691..ba13f3c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,9 +4,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