mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-30 20:56:39 +00:00
test4
This commit is contained in:
parent
f53ce42f63
commit
246ec2f8bd
|
@ -152,6 +152,7 @@
|
||||||
start_all()
|
start_all()
|
||||||
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 run --data-file=/tmp/.coverage -m pytest -p no:cacheprovider -v >&2")
|
||||||
machine.succeed("coverage xml --rcfile=${vmtest-src-dir}/.coveragerc --data-file=/tmp/.coverage >&2")
|
machine.succeed("coverage xml --rcfile=${vmtest-src-dir}/.coveragerc --data-file=/tmp/.coverage >&2")
|
||||||
|
machine.succeed("sed -i -E 's|<source>${pkgs.lib.strings.escapeRegex self.outPath}</source>|<source>selfprivacy_api</source>|g' coverage.xml")
|
||||||
machine.copy_from_vm("coverage.xml", ".")
|
machine.copy_from_vm("coverage.xml", ".")
|
||||||
machine.succeed("coverage report >&2")
|
machine.succeed("coverage report >&2")
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue