Author brett.cannon
Recipients brett.cannon, jaysinh.shukla, ncoghlan, nedbat
Date 2017-05-29.05:13:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496034801.77.0.239836666477.issue11978@psf.upfronthosting.co.za>
In-reply-to
Content
I learned a few thing trying to make this work.

One is that the COVERAGE_PROCESS_START does need to point to an actual .ini file (which includes an empty file).

Two, https://bitbucket.org/ned/coveragepy/src/63dfe482a849e9cb0b82214242315a806a6a3d53/coverage/control.py?at=default&fileviewer=file-view-default#control.py-1265 shows that stdlib coverage is left off by this, so even if you do turn on tracing in a subprocess, it will still ignore the stdlib. That means the coverage config file must turn on stdlib coverage in order or it to be picked up in the subprocesses.

Three, you need to run `coverage combine` to create a unified .coverage file for `coverage report` to pick up (I don't know if codecov explicitly needs the merge step.

When I have time I'll make a PR to test if this change actually helps speed things up.
History
Date User Action Args
2017-05-29 05:13:21brett.cannonsetrecipients: + brett.cannon, ncoghlan, nedbat, jaysinh.shukla
2017-05-29 05:13:21brett.cannonsetmessageid: <1496034801.77.0.239836666477.issue11978@psf.upfronthosting.co.za>
2017-05-29 05:13:21brett.cannonlinkissue11978 messages
2017-05-29 05:13:21brett.cannoncreate