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

Coveralls badge showing coverage as unknown #184

Closed
fgbulsoni opened this issue Feb 17, 2017 · 1 comment
Closed

Coveralls badge showing coverage as unknown #184

fgbulsoni opened this issue Feb 17, 2017 · 1 comment

Comments

@fgbulsoni
Copy link
Contributor

fgbulsoni commented Feb 17, 2017

Scenario/Intent

See the % of code coverage through the coveralls badge in the readme.

Apparently, according to coveralls documentation, what is missing is:

  1. add gem 'coveralls', require: false to the gemfile
  2. add require coveralls to the top of the spec_helper.rb file and add the following after the requires:
Coveralls.wear!

SimpleCov.formatters = [
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]

Steps to Reproduce

Visit the project github. Or look here: Coverage Status

Expected Result

The badge is up to date with the % of code covered

Actual Result

Coverage Status

@jsmartt
Copy link
Collaborator

jsmartt commented Feb 17, 2017

Ah. Thanks. I thought maybe it would take care of it automatically once it was merged & had a chance to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants