Fix tests coverage report

This commit is contained in:
Juan Carlos Mejías Rodríguez 2019-08-15 19:13:56 +02:00 committed by GitHub
parent 52052f667c
commit 6e1eef164d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,11 +49,11 @@ jobs:
name: Create test coverage report and send it to Code Climate
command: |
./cc-test-reporter before-build
go test -race -coverprofile=coverage.txt ./...
./cc-test-reporter after-build --coverage-input-type cover --exit-code $?
go test -race -coverprofile=c.out ./...
./cc-test-reporter after-build --exit-code $?
- store_artifacts:
path: ./coverage.txt
destination: coverage.txt
path: ./c.out
destination: c.out
release-test:
executor: goreleaser