Skip to content

Commit

Permalink
ci(tox): fix collecting code coverage information (#470)
Browse files Browse the repository at this point in the history
Fixes `tox` configuration with respect to installing all optional
package dependencies that are necessary for running various tests.

Fixes `tox` collecting of code coverage information by forcing editable
mode also in the test running instructions.
  • Loading branch information
tiborsimko committed Aug 22, 2024
1 parent 4816f90 commit adeb4c9
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
# This file is part of REANA.
# Copyright (C) 2022, 2023 CERN.
# Copyright (C) 2022, 2023, 2024 CERN.
#
# 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.

[tox]
envlist = py38, py39, py310, py311, py312
envlist =
py38
py39
py310
py311
py312

[testenv]
deps = pytest
pytest-cov
commands = pytest {posargs}
deps =
pytest
pytest-cov
commands =
pip install -e .[all]
pytest {posargs}
package =
editable

0 comments on commit adeb4c9

Please sign in to comment.