From 2d5edfaed67737dda3a26d159ee3f7ff058247c2 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 11 Nov 2024 16:24:02 +0100 Subject: [PATCH] ci: update tox and coverage version (#348) Signed-off-by: Alex --- .config/requirements-test.in | 3 ++- tox.ini | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/requirements-test.in b/.config/requirements-test.in index e56b9d26..e0654fa1 100644 --- a/.config/requirements-test.in +++ b/.config/requirements-test.in @@ -1,7 +1,8 @@ -r requirements.in coverage-enable-subprocess>=1.0 # see https://github.com/nedbat/coveragepy/issues/1341#issuecomment-1228942657 coverage==6.5.0; python_version < "3.10" # ansible-core will complain -coverage[toml] == 7.3.2; python_version >= "3.10" # ansible-core will complain +coverage==7.3.2; python_version == "3.10" # ansible-core will complain +coverage[toml] == 7.6.1; python_version >= "3.11" # ansible-core will complain pytest>=7.0.0 asyncmock>=0.4.2 pytest-asyncio>=0.20.0 diff --git a/tox.ini b/tox.ini index 851f0771..661b359c 100644 --- a/tox.ini +++ b/tox.ini @@ -161,7 +161,7 @@ commands = ansible --version ansible-test sanity -v --docker --color --requirements --coverage --truncate 0 --junit {posargs} -[testenv:coverage] +[testenv:coverage,py{39,310,311,312,313}-coverage] description = Produce final coverage report for GHA deps = -r .config/requirements-test.in commands =