Skip to content
Snippets Groups Projects
Verified Commit 0724f011 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

d/rules: export junit-xml style test report when building on jenkins

parent 80d38082
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,10 @@ export PYBUILD_TEST_ARGS = -vv -r sxX -l --cov=diffoscope --cov-report=term-miss
export PYBUILD_AFTER_TEST = debian/tests/basic-command-line
export PYBUILD_AFTER_INSTALL = rm -rvf '{destdir}/{install_dir}/htmlcov' '{destdir}/{install_dir}/.coverage'
ifneq ($(JENKINS_EXPORTS_DIR),)
export PYBUILD_TEST_ARGS += --junit-xml=$(JENKINS_EXPORTS_DIR)/test-results/tests.xml
endif
%:
dh $@ --with python3 --with bash-completion --buildsystem=pybuild
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment