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 coveralls reporting #381

Merged
merged 1 commit into from
Sep 16, 2017

Conversation

alexjfisher
Copy link
Member

Solves 2 issues.

We use parallel_tests, so we should wait for simplecov to merge
results before reporting to coveralls.

We are reporting in two jobs, (once for puppet 4 and again for
puppet 5).

See:
https://coveralls.zendesk.com/hc/en-us/articles/201769485-Ruby-Rails
https://github.com/colszowka/simplecov#merging-results

Solves 2 issues.

We use parallel_tests, so we should wait for simplecov to merge
results before reporting to coveralls.

We are reporting in two jobs, (once for puppet 4 and again for
puppet 5).

See:
https://coveralls.zendesk.com/hc/en-us/articles/201769485-Ruby-Rails
https://github.com/colszowka/simplecov#merging-results
@alexjfisher
Copy link
Member Author

As tested in voxpupuli/puppet-rabbitmq#636

@bastelfreak
Copy link
Member

looks good to me. Did you test it on any module?

@alexjfisher
Copy link
Member Author

In puppet 4 job, no reporting to coveralls, but simplecov still writes to console.
https://travis-ci.org/voxpupuli/puppet-rabbitmq/jobs/275625406#L775
In puppet 5 job we get just a single report (after the automagic simplecov results merging stuff).
https://travis-ci.org/voxpupuli/puppet-rabbitmq/jobs/275625407#L778

Compare to a previous PR puppet 5 job where 2 reports were sent...
https://travis-ci.org/voxpupuli/puppet-rabbitmq/jobs/276162321#L737
https://travis-ci.org/voxpupuli/puppet-rabbitmq/jobs/276162321#L778

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.

2 participants