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

Improve simplecov #272

Merged
merged 1 commit into from
Nov 24, 2016
Merged

Conversation

alexjfisher
Copy link
Member

Don't run simplecov at all if the module has no lib directory.
This should fix a github coveralls integration issue. Coveralls seems
to get upset and never reports back to travis if we send it reports
about 0 files.

Include all ruby files under lib in the coverage report, even those
with 0% coverage.

Don't run simplecov at all if the module has no `lib` directory.
This should fix a github coveralls integration issue.  Coveralls seems
to get upset and never reports back to travis if we send it reports
about 0 files.

Include all ruby files under `lib` in the coverage report, even those
with 0% coverage.
@alexjfisher
Copy link
Member Author

Tested on puppet-zabbix (a module containing types/providers) and puppet-jira (one with no lib dir).

@bastelfreak bastelfreak merged commit 501738f into voxpupuli:master Nov 24, 2016
@rnelson0
Copy link
Member

@alexjfisher you might want to submit this patch to puppet-module-skeleton as well, everyone seems to be struggling with the right way to use simplecov.

@alexjfisher
Copy link
Member Author

@rnelson0 Lets give it a few days first, in case any more tweaking is necessary.

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

Successfully merging this pull request may close these issues.

3 participants