Open
Description
Specifically, this appveyor config file was run through appveyor and produced this coverage file.
Only on Windows/Appveyor, not Mac/Travis or Linux/Travis, is the coverage information just missing.
Specifically, this appveyor config file was run through appveyor and produced this coverage file.
Only on Windows/Appveyor, not Mac/Travis or Linux/Travis, is the coverage information just missing.
Activity
tolomea commentedon May 18, 2017
This would explain the problems I'm having on Win10. I have following package versions:
.coveragerc contains:
Running pytest with:
correctly calculates coverage for the Python files in core but doesn't find any of the templates.
I'll see if I can find a Linux or Mac to test on.
ionelmc commentedon May 18, 2017
@tolomea Perhaps there is a problem with the location of the code (eg: it's in in
site-packages
but all your configuration assumes the files in project's root.@astronouth7303 I can't see any build output from that appveyor link. Also the coverage file link is broken/expired.
AstraLuma commentedon May 18, 2017
From https://codecov.io/gh/xonsh/slug/commit/feef8ac62e2f67662e5d30336178e31795681486/build
https://ci.appveyor.com/project/xonsh/slug/build/job/99o0qpopf3a13hvy
tolomea commentedon May 19, 2017
@ionelmc the core directory containing the templates is in the current working directory as are .coveragerc and manage.py and as mentioned it finds the py files in that app, just not the templates.
I found a Linux machine to test it on and it happily finds the templates, so it does seem to be a Windows specific issue.
ionelmc commentedon May 19, 2017
@tolomea sounds like a django plugin issue, have you tried reporting it to whomever maintains it?
tolomea commentedon May 19, 2017
@ionelmc oops, I had mistakenly thought this was a django plugin issue (too many browser tabs :) I'll take it over there, thanks.
ionelmc commentedon May 19, 2017
@astronouth7303 I've now looked over your project and everything seems to work as expected. You have multiple problems in your project tho:
These may be fixed with proper project layout (the src layout) or change of CWD to a temp dir while test runs. Unfortunate consequences of Python putting CWD in sys.path :)
You may still need some coverage configuration. See this or this.