-
Notifications
You must be signed in to change notification settings - Fork 7
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
Better documentation for Circle-CI configuration #552
Comments
👍 You've probably solved it for yourself, but for anyone else who ends up on this issue we were able to solve this by adding the following to our
|
If you're using rspec with rails, this is what worked for me. Add the In repo_token: your_repo_token_here At the top of require 'simplecov'
# Check to see if we're inside a CI environment. If not, we don't want to override the default formatter.
if ENV['CI']
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
end
# The NO_COVERAGE clause is optional - Coveralls and CircleCI don't use it by default, but may be useful for you in other circumstances.
SimpleCov.start 'rails' unless ENV.key?('NO_COVERAGE') I didn't need any changes to my |
The documentation for setting up circleci is still lacking. I have been trying to get it working, but despite pushing to my repo, and adding the key to my circle ci environment variables, I still see:
In the test output, and nothing ever gets to Coveralls. |
I think this got eventually updated for CircleCI 1.0, but the documentation doesn't help for 2.0. |
I am also unable to get coveralls work with CircleCI 2.0. |
Anyone has successfully integrated CircleCI and coveralls yet? 🤷♀️ |
I did, but ended up moving to codecov because the coveralls reports took too long (sometimes hours) |
coveralls is working for me with circleci 2.0.
|
Hi all, thanks for the replies! @muryanto1 your answer worked! However I also found CodeClimate a better documented tool which I integrated easily and with code quality analysis included too. Would recommend giving it a look :-) |
@lifenautjoe and @muryanto1 Could you please share how you set up the config.yml. I am abit stuck configuring circleCI with coveralls. Thank you. |
I was able to get coveralls working with circleci using the I did have a bug with running the python library in parallel so I had to do a workaround: TheKevJames/coveralls-python#233 (comment) |
This issue has been automatically marked for closure because it has not had recent activity. It will be closed if no further activity occurs. If your issue is still active please add a comment and we’ll review as soon as we can. Thank you for your contributions. |
Coveralls should make a tutorial or add documentation on how to set up coveralls with circle-ci
The text was updated successfully, but these errors were encountered: