Skip to content

Commit 023adcf

Browse files
committed
ci(tox): fix collecting code coverage information (#134)
Fixes `tox` configuration with respect to collecting code coverage information. Allows higher version of the `coverage` package for Python 3.12 tests.
1 parent 7dd1b14 commit 023adcf

2 files changed

Lines changed: 15 additions & 6 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"apispec-webframeworks",
3939
"check-manifest>=0.25,<1",
4040
"checksumdir>=1.1.4,<1.2",
41-
"coverage>=5.0,<6.0",
41+
"coverage>=5.0,<8.0",
4242
"jsonschema>=3.2.0,<4.0",
4343
"mock>=3.0,<4.0",
4444
"pika>=0.12.0,<0.13",

tox.ini

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
# This file is part of REANA.
2-
# Copyright (C) 2022, 2023 CERN.
2+
# Copyright (C) 2022, 2023, 2024 CERN.
33
#
44
# REANA is free software; you can redistribute it and/or modify it
55
# under the terms of the MIT License; see LICENSE file for more details.
66

77
[tox]
8-
envlist = py38, py39, py310, py311, py312
8+
envlist =
9+
py38
10+
py39
11+
py310
12+
py311
13+
py312
914

1015
[testenv]
11-
deps = pytest
12-
pytest-cov
13-
commands = pytest {posargs}
16+
deps =
17+
pytest
18+
pytest-cov
19+
commands =
20+
pytest {posargs}
21+
package =
22+
editable

0 commit comments

Comments
 (0)