Merge pull request #329 from nspcc-dev/circleci-enable-codecov

circleci: fix codecov integration
This commit is contained in:
Roman Khimov 2019-08-30 17:27:28 +03:00 committed by GitHub
commit fb65dd8848
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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