-
Notifications
You must be signed in to change notification settings - Fork 60
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
test out coveralls submission #320
Conversation
@rainwoodman -- I've got the coverage working, with a bit of a hack around the mpi4py_test framework. We can't use the |
Does it make sense to have one .coverage file per process? Looks like if we can change line 309 of |
I don't think that would work. The .coverage file for each process is written to the current working directory, in this case The nose class is limited in terms of supporting coverage (I think nose is no longer maintained?)....there doesn't appear to be any easy way to change the .coverage file name, for example. |
Indeed. nose is no longer maintained. I am not sure numpy's plan about this. I think it is relatively easy to follow their choices though. Does it work if you put parallel = True in coveragerc? The docs suggest it is the same as -p. |
Unfortunately, it does not work if you do that...I think the coveragerc is ignored by the call to nosetests by numpy |
OK. I think your current coverage.py driver is the cleanest way of using mpi4py_test with coverage. Is it desirable to set up travis such that the coverage is run as one item of the test matrix, or only run when the commit message has a '[ci.coverage]' string (like [ci skip]). I think there are benefits keeping the regular way of running the tests in travis. I also recall being reocmmended not to run coverage tests every time because it can get slow. |
I think this is ready to merge now, @rainwoodman. Remaining item is whether to compute coverage every time...seems to be okay for now. Perhaps we reassess if it becomes too slow |
Sure. Let's merge this. |
No description provided.