Merge pull request #329 from nspcc-dev/circleci-enable-codecov
circleci: fix codecov integration
This commit is contained in:
commit
fb65dd8848
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
version: 2.1
|
version: 2.1
|
||||||
|
orbs:
|
||||||
|
codecov: codecov/codecov@1.0.5
|
||||||
|
|
||||||
executors:
|
executors:
|
||||||
go1_11:
|
go1_11:
|
||||||
docker:
|
docker:
|
||||||
|
@ -60,7 +63,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- gomod
|
- gomod
|
||||||
- run: go test -v -race ./...
|
- run: go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic
|
||||||
|
- codecov/upload:
|
||||||
|
file: coverage.txt
|
||||||
|
|
||||||
build_cli:
|
build_cli:
|
||||||
working_directory: /go/src/github.com/CityOfZion/neo-go
|
working_directory: /go/src/github.com/CityOfZion/neo-go
|
||||||
|
|
Loading…
Reference in a new issue