Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put coverage testing back #111

Closed
alexflint opened this issue Apr 3, 2020 · 0 comments
Closed

Put coverage testing back #111

alexflint opened this issue Apr 3, 2020 · 0 comments

Comments

@alexflint
Copy link
Owner

#110 broke test coverage using coveralls. We should get that working under github actions.

The .travis.yml file was:

language: go
go:
  - "1.12"
  - "1.13"
before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
  - $HOME/gopath/bin/goveralls -service=travis-ci
  - bash test/compile_with_go110.sh
  - bash test/compile_with_go111.sh
  - bash test/compile_with_go111_inside_gopath.sh

The coveralls badge in the README was like this:

-[![Coverage Status](https://coveralls.io/repos/alexflint/go-arg/badge.svg?branch=master&service=github)](https://coveralls.io/github/alexflint/go-arg?branch=master)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant