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