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 when running tests.
  • Loading branch information
tiborsimko committed Aug 26, 2024
1 parent 4816f90 commit 664efda
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
# 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
extras =
all
commands =
pytest {posargs}
package =
editable

0 comments on commit 664efda

Please sign in to comment.