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