Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

Latest commit

 

History

History
52 lines (37 loc) · 1.26 KB

README.md

File metadata and controls

52 lines (37 loc) · 1.26 KB

wercker goveralls step

wercker status

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.

Usage

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

Properties

Name Type Default Description
token string Your Coveralls repository token.

Changelog

2.1.0

  • Exclude mock_*.go files from the coverage profile

1.1.1

  • Allow go version retrieval for go1.10

1.0.0

  • Exclude "vendor" folder from scanned directories
  • Filter test files that have "unit" tag
  • Fork repo