Skip to content

Commit

Permalink
Update gitlab-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
haath committed Aug 16, 2021
1 parent 6905119 commit 903eceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ test:
retry: 2
coverage: '/^total:\s+\(statements\)\s+([0-9.]+)%/'
artifacts:
name: test_coverage
name: coverage
paths:
- test_coverage.*
- coverage.html
script:
- go test -coverprofile ../build/coverage.out ./...
- go tool cover -html build/coverage.out -o ../coverage.html
- go tool cover -html ../build/coverage.out -o ../coverage.html
- "go tool cover -func ../build/coverage.out | grep total:"


Expand Down

0 comments on commit 903eceb

Please sign in to comment.