Skip to content

Commit

Permalink
ci(pytest): invoke pytest directly instead of setup.py test (rean…
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni committed Jul 30, 2024
1 parent 822a538 commit 5ff5e69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ check_sphinx () {
}

check_pytest () {
python setup.py test
pytest
}

check_all() {
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 5ff5e69

Please sign in to comment.