WIP: test 2
continuous-integration/drone/push Build is passing Details

coverage-for-sonar
Alexander 2024-04-14 03:23:20 +04:00
parent 43a3b71e29
commit 943d3a4d7e
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@
};
testScript = ''
start_all()
machine.succeed("cd ${vmtest-src-dir} && coverage run --data-file=/tmp/.coverage -m pytest -p no:cacheprovider tests/test_binds.py -v >&2")
machine.succeed("cd ${vmtest-src-dir} && coverage run --data-file=/tmp/.coverage -m pytest -p no:cacheprovider -v >&2")
machine.succeed("cd ${vmtest-src-dir} && coverage xml --data-file=/tmp/.coverage -o /tmp/coverage.xml >&2")
machine.succeed("sed -E 's|<source>${pkgs.lib.strings.escapeRegex self.outPath}</source>|<source>.</source>|g' /tmp/coverage.xml")
machine.copy_from_vm("/tmp/coverage.xml", ".")