-
Notifications
You must be signed in to change notification settings - Fork 176
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
add coverage to circleci #610
base: master
Are you sure you want to change the base?
Conversation
will need COVERALLS_REPO_TOKEN set in circleci
Please could someone with admin rights on the circle build configure the following environment parameter: |
Can you push a fake commit? Restarting the job doesn't take into account new environment variables. |
Still fails even though the environment variable. I'm looking at it as we speak. On a side note, why not move coveralls in after_success section, so CI builds don't fail due to coveralls service issues? E.g.
|
yes lets do that once it's working 👍 |
@davidhyman CircleCI is reporting issue with:
Before the error CircleCI reports Any idea? |
Apparently there's an option in CircleCI which allows env vars to be exposed to the container. It's generally considered unsafe and turned off by default. I turned it on to check whether it would build successfully, though this doesn't seems like the way to go. |
Changes Unknown when pulling 10de503 on davidhyman:d/coverage_clean into ** on ARMmbed:master**. |
Sorry for the delay; yes absolutely we should not use that feature! The risk is that any fork PR built could include code that exports the entire environment which, if it contains tokens for git or whatever, would be a Bad Thing. Hopefully there's no private keys there used for signing stuff, for example. If you create a new native branch and move the PR onto it, that should work. |
Changes Unknown when pulling 10de503 on davidhyman:d/coverage_clean into ** on ARMmbed:master**. |
@davidhyman How can we enable this? |
probably don't merge just yet, let's see what circleci does, maybe add coveralls