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

Custom wercker step for uploading Go coverage to Coveralls.

License

Notifications You must be signed in to change notification settings

ricardoarchive/wercker-step-goveralls

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Custom wercker step for uploading Go coverage to Coveralls.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%