Skip to content

Commit

Permalink
ci(tox): fix collecting code coverage information (#134)
Browse files Browse the repository at this point in the history
Fixes `tox` configuration with respect to collecting code coverage
information.

Allows higher version of the `coverage` package for Python
3.12 tests.
  • Loading branch information
tiborsimko committed Aug 22, 2024
1 parent 7dd1b14 commit 023adcf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"apispec-webframeworks",
"check-manifest>=0.25,<1",
"checksumdir>=1.1.4,<1.2",
"coverage>=5.0,<6.0",
"coverage>=5.0,<8.0",
"jsonschema>=3.2.0,<4.0",
"mock>=3.0,<4.0",
"pika>=0.12.0,<0.13",
Expand Down
19 changes: 14 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
# 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 =
pytest {posargs}
package =
editable

0 comments on commit 023adcf

Please sign in to comment.