I am on Coveralls.io and he says:
If you intend to provide coverage data through a private CI or command line other than Travis Pro, add the following line to your .coveralls.yml:
repo_token: k8hiVxiMr6UyolotPFQerkKWwOoYfbB
Note. It is forbidden to publish a repository token.
My question is: what is the best way to include this token in a file .coveralls.yml, but make it private?
One might not have to check .coveralls.ymlfor version control, but it seems very inconvenient. In addition, this can accidentally lead to version control, and then it will be bad.
Another idea would be to make it an env variable, but then how do I read it in YAML? How will this work on CI / CD servers? This is not true.
So what am I doing?
source
share