Skip to content

Commit

Permalink
ci: covermode must be atomic when race is enabled (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola authored Jul 15, 2024
1 parent 66ed78d commit b3e91d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ test:unit:
stage: test
image: golang:1.22
script:
- go test -v -race -coverprofile=coverage.txt -covermode count ./...
- go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- go get github.com/boumenot/gocover-cobertura
- go run github.com/boumenot/gocover-cobertura < coverage.txt > coverage.xml
artifacts:
Expand Down

0 comments on commit b3e91d9

Please sign in to comment.