Closed joaomcteixeira closed 1 year ago
Yes, it's coveralls env in tox.ini
Looks like there is an issue with how coveralls is merging the report from appveyor (looks like it doesn't merge at all 😞 - imo this is a bug in coveralls). I've recently added the coveralls support in the appveyor configuration, maybe I should have added with with a disable flag. Alternatively we can just change the template a bit so if coveralls_token ain't set then it's disabled in appveyor (it won't work without the token anyway).
.travis.yml
file. Truth is, in this example, I remove the coveralls and codecov envs from tox and do not perform it in AppVeyor. Can you comment on this so I better understand why this strategy is a bad strategy (though I am using it I am not convinced it is the best). Also, from the docs and here (not official docs) it really seams token is only needed for private repositoriesCoveralls has been switched to their new github action. Open new issue if there's a problem with that.
Hi @ionelmc
quick words of introduction: I have been reading during the last days through your documentation, posts and projects related to this cookiecutter and packaging strategy. In the beginning every line was new information and I could only learn it going line by line and build my own skeleton repository the hard way. I really support your strategy!
Going to the issue:
I generated this repo from this cookiecutter. As is, the coverage information is reported twice to COVERALLS, coming from both Travis and Appveyor, rendering this awkward output of duplicated file information.
I encountered this same behavior during the first commits of my first skeleton repository (mentioned above). Finally I solved it after restricting sending coverage reports only through Travis (see .travis.yml) and removing
env:coverage
andenv:coveralls
fromtox.in
.first question: Where is travis sending coverage information to coveralls? Is it through the
env:coveralls
? (same to codecov?)question 2: why sending coverage information from both appveyor and travis?
solution: depending on your answers, can this be changed in the coockiecutter template?
Thank you!