-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ci(tox): fix collecting code coverage information #470
Conversation
py39 | ||
py310 | ||
py311 | ||
py312 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: for Python 3.12, to run tox -e py312
locally, we need to first release new pytest-reana
that is bumping the limit of the coverage
dependency. This is done in reanahub/pytest-reana#134
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ sudo dnf install python3.8 python3.9 python3.10 python3.11 python3.12
$ sudo dnf install python3.10-devel python3.11-devel python3.12-devel
$ tox --skip-env py312
...
py38: OK (18.81=setup[1.16]+cmd[2.97,14.68] seconds)
py39: OK (20.63=setup[1.15]+cmd[4.96,14.53] seconds)
py310: OK (44.40=setup[1.10]+cmd[28.52,14.78] seconds)
py311: OK (29.10=setup[1.20]+cmd[5.18,22.72] seconds)
congratulations :) (113.06 seconds)
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.
e773ddf
to
adeb4c9
Compare
tox.ini
Outdated
pytest | ||
pytest-cov | ||
commands = | ||
pip install -e .[all] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
adeb4c9
to
664efda
Compare
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.
664efda
to
ebf3695
Compare
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.