[Git][NTPsec/ntpsec][master] Add Gitlab CI job to determine python test coverage
Matt Selsky
gitlab at mg.gitlab.com
Thu Jan 4 06:15:06 UTC 2018
Matt Selsky pushed to branch master at NTPsec / ntpsec
Commits:
3bb4bf5d by Matt Selsky at 2018-01-04T01:02:23-05:00
Add Gitlab CI job to determine python test coverage
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -309,3 +309,13 @@ python3:
tags:
- gitlab-org
+python-coverage:
+ <<: *job_definition
+ script:
+ - apt-get update -qq && apt-get install -y -qq bison python-dev python-coverage
+ - python ./waf configure build check
+ - for i in build/main/tests/pylib/test_*; do python-coverage run -a --source build/main/pylib $i; done
+ - python-coverage report
+ tags:
+ - gitlab-org
+
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3bb4bf5d95f1f23ed95354f744c34f451c3e88bd
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3bb4bf5d95f1f23ed95354f744c34f451c3e88bd
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180104/f2c976f6/attachment.html>
More information about the vc
mailing list