Skip to content

Commit 7595826

Browse files
author
Agam More
committed
CR change incoming
2 parents b4f0357 + 35efbf5 commit 7595826

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,19 +308,20 @@ You can use the `-v` flag to see verbose output.
308308

309309
Store your Coveralls API token as an [Environment Variable](https://docs.gitlab.com/ee/ci/variables/#create-a-custom-variable-in-the-ui) named `COVERALLS_TOKEN`.
310310

311-
312311
```yml
313312
test:
314313
timeout: 30m
315314
stage: test
316315
artifacts:
317316
paths:
318-
- covprofile
317+
- coverage.txt
318+
dependencies:
319+
- build:env
319320
when: always
320321
script:
321-
- go test -covermode atomic -coverprofile=covprofile ./...
322+
- go test -covermode atomic -coverprofile=coverage.txt ./...
322323
- go get github.com/mattn/goveralls
323-
- goveralls -service=gitlab -coverprofile=covprofile
324+
- goveralls -service=gitlab -coverprofile=coverage.txt
324325
```
325326
326327
## Coveralls Enterprise

0 commit comments

Comments
 (0)