-
Notifications
You must be signed in to change notification settings - Fork 791
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 CI run fails for PRs from forks #359
Comments
@jwasinger Can you have a look at this? I am a bit at the end of my wisdom here and this is really annoying. |
Have removed |
You need to log in to coveralls, get the repo key and insert that into either the circle.yaml and fill out the setting on the circleci settings page. |
I think I have done that (going to Coveralls EthereumJS VM settings page, copy the repo token, add it to CircleCI VM settings environment variables) and have just checked, would assume that I have done it correctly. Could you maybe x-check? Maybe I am missing something here. This is actually working for PRs from this repo itself, just not for forks. |
This is because Circle CI doesn't pass environment variables to builds started from forks. There's an option to enable it (which would make everything work) but that's probably best left off.
Both the Circle CI docs and the Coverall docs are a bit lacking here. The link in the Circle CI settings [1] is broken (maybe it should be this one [2]) but it's clear that we don't want to enable that anyway. The Coveralls docs are unclear about how this should work. They are clear that it should be secret:
My guess here is that fork builds only really "work" from Travis CI and that the only workaround available would be to expose our |
Thanks for the great analysis! However this leaves me puzzled, this is such a common functionality need, isn't it? :-/ |
It is and there are many open discussion on GitHub and Circle CI's forums about it. MetaMask, for example, doesn't bother running Coveralls on fork builds with a check for the env before uploading. |
When a PR is done from a fork, coveralls is failing with:
at the end of the state test run, see e.g. #352.
The text was updated successfully, but these errors were encountered: