This wercker step runs goveralls to extract code coverage from your project and uploads it to Coveralls.
It also exclude the "vendor" directory from the "tests" scanned directories.
It also include only tests files that have the "unit" tag.
box: google/golang
build:
steps:
- setup-go-workspace
- golint
- script:
name: go build
code: |
go build ./...
- script:
name: go test
code: |
go test ./...
- ricardo-ch/goveralls:
token: $COVERALLS_TOKEN
Name | Type | Default | Description |
---|---|---|---|
token | string | Your Coveralls repository token. |
- Exclude "vendor" folder from scanned directories
- Filter test files that have "unit" tag
- Fork repo