summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-08-24 14:47:43 +0000
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-08-24 14:47:43 +0000
commitd65122823829bb449375cbb8d65c5f60a09729b7 (patch)
tree05a54ce6d1f422595a83d7a50cc98b2e46bf0f75
parent03e8491dbfcf0220f16eb4980ce9f67a9a439474 (diff)
parent06ac1c26a14be73f409138f2877c236f352bcdf9 (diff)
downloadgitlab-ce-d65122823829bb449375cbb8d65c5f60a09729b7.tar.gz
Merge branch 'docs/add-tests-coverage-badge-to-readme' into 'master'
Add tests coverage report badge to README ## What does this MR do? This MR adds tests coverage badge to project's README. The job it reads coverage value from is `coverage`, and it is configured in out CI test suite to calculate compound coverage from all test jobs running in parallel. This will pick the latest successful pipeline to get `coverage` job and coverage value. For now, this will report test coverage only for backend test suite (Ruby). See merge request !5925
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 33d9407a0c1..3df8bfa04c7 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
# GitLab
[![build status](https://gitlab.com/gitlab-org/gitlab-ce/badges/master/build.svg)](https://gitlab.com/gitlab-org/gitlab-ce/commits/master)
+[![coverage report](https://gitlab.com/gitlab-org/gitlab-ce/badges/master/coverage.svg?job=coverage)](https://gitlab.com/gitlab-org/gitlab-ce/commits/master)
[![Code Climate](https://codeclimate.com/github/gitlabhq/gitlabhq.svg)](https://codeclimate.com/github/gitlabhq/gitlabhq)
## Canonical source