Skip to content

Commit 3424055

Browse files
committed
Add GitLab CI coverage link on README
Signed-off-by: Takuya Noguchi <[email protected]>
1 parent fd27df6 commit 3424055

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.gitlab-ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ format-test:
1717
- cover.html
1818
expire_in: 3 days
1919

20+
pages:
21+
stage: deploy
22+
script:
23+
- mkdir -p public/coverage
24+
- mv cover.html public/coverage/index.html
25+
dependencies:
26+
- format-test
27+
artifacts:
28+
paths:
29+
- public
30+
only:
31+
- master
32+
2033
deploy:
2134
image: google/cloud-sdk:241.0.0
2235
stage: deploy

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# docs.djangoproject.jp
22

33
[![pipeline status](https://gitlab.com/tnir/docs.djangoproject.jp/badges/master/pipeline.svg)](https://gitlab.com/tnir/docs.djangoproject.jp/commits/master)
4-
[![coverage report](https://gitlab.com/tnir/docs.djangoproject.jp/badges/master/coverage.svg)](https://gitlab.com/tnir/docs.djangoproject.jp/commits/master)
4+
[![coverage report](https://gitlab.com/tnir/docs.djangoproject.jp/badges/master/coverage.svg)](https://tnir.gitlab.io/docs.djangoproject.jp/coverage/)
55
[![Go Report Card](https://goreportcard.com/badge/gitlab.com/tnir/docs.djangoproject.jp)](https://goreportcard.com/report/gitlab.com/tnir/docs.djangoproject.jp)
66

77
Mirror from: https://gitlab.com/tnir/docs.djangoproject.jp

0 commit comments

Comments
 (0)