Skip to content

Commit fd27df6

Browse files
committed
Merge branch '25-add-coverage-html-to-pages' into 'master'
Add coverage HTML to Pages Closes #25 See merge request tnir/docs.djangoproject.jp!18
2 parents e5e917a + 8649409 commit fd27df6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ format-test:
1010
- export CGO_ENABLED=0
1111
- go fmt
1212
- go vet
13-
- go test -cover
13+
- go test -cover -coverprofile cover.out ./...
14+
- go tool cover -html=cover.out -o cover.html
15+
artifacts:
16+
paths:
17+
- cover.html
18+
expire_in: 3 days
1419

1520
deploy:
1621
image: google/cloud-sdk:241.0.0

0 commit comments

Comments
 (0)