From b103e826fe7c95c0683eb57029f5653afcf52c0e Mon Sep 17 00:00:00 2001 From: Tony Meyer Date: Thu, 28 Nov 2024 10:09:31 +1300 Subject: [PATCH] ci: move the XML coverage report to .report (#1465) Miguel, our TIOBE contact, has asked that we move the XML coverage file that gets loaded, to `.report/coverage.xml`. This also means we can avoid using a custom data file name, which is nice. --- tox.ini | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 965584b52..4594afbd4 100644 --- a/tox.ini +++ b/tox.ini @@ -122,12 +122,11 @@ deps = -e . -e testing commands = - mkdir -p .coverage + mkdir -p .report coverage run --source={[vars]src_path},testing/src/scenario \ - --data-file=.coverage.data \ -m pytest --ignore={[vars]tst_path}smoke -v --tb native {posargs} - coverage xml --data-file=.coverage.data -o .coverage/coverage.xml - coverage report --data-file=.coverage.data + coverage xml -o .report/coverage.xml + coverage report [testenv:pebble] description = Run real pebble tests