43161d069b
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: Ib364cfe8dc40f0795a2ceaf7513af3bc21811bf6
5 lines
83 B
YAML
5 lines
83 B
YAML
- project:
|
|
templates:
|
|
- python35-charm-jobs
|
|
- openstack-cover-jobs
|