20e10ef7fd
This technique was borrowed from the tox "cover" environment in openstack/nova's tox.ini. This leverages the fact that stestr lets you override the python executable via the PYTHON environment variable. Doing this allows us to easily generate coverage for our unit tests. An important caveat is that this does not provide any coverage for tests via zaza, amulet, etc. It is purely focused on the unit tests. Note that this replaces the previous .coveragerc; coverage configuration is instead pulled from tox.ini. Change-Id: I3ffde09df35c257bcd037182e65db6555b1d01a3
5 lines
83 B
YAML
5 lines
83 B
YAML
- project:
|
|
templates:
|
|
- python35-charm-jobs
|
|
- openstack-cover-jobs
|