Skip to content

Commit

Permalink
ci: update tox and coverage version (#348)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <aizquier@redhat.com>
  • Loading branch information
Alex-Izquierdo authored Nov 11, 2024
1 parent 996a075 commit 2d5edfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .config/requirements-test.in
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 2d5edfa

Please sign in to comment.