2016-11-30 06:21:53 +01:00
|
|
|
# This configuration file is used for manual execution of coverage
|
|
|
|
# as well as for tests run through ansible-test.
|
|
|
|
|
|
|
|
[run]
|
|
|
|
branch = True
|
|
|
|
|
|
|
|
# Enable concurrency. This also enables parallel mode, which results in
|
|
|
|
# multiple coverage files being created. Concurrency allows us to collect
|
|
|
|
# results from multiple tests simultaneously, as well as supporting multiple
|
|
|
|
# test runs, such as from integration tests.
|
|
|
|
concurrency = multiprocessing
|
2017-02-24 01:58:57 +01:00
|
|
|
parallel = True
|
2016-11-30 06:21:53 +01:00
|
|
|
|
|
|
|
# When running tests through ansible-test, this option is overridden by
|
|
|
|
# the COVERAGE_FILE environment variable. This option is present for
|
|
|
|
# convenience when running coverage manually from this directory.
|
|
|
|
data_file = test/results/coverage/coverage
|
|
|
|
|
|
|
|
# Don't collect or report code coverage from files matching these patterns.
|
2015-03-11 00:38:37 +01:00
|
|
|
omit =
|
2016-11-30 06:21:53 +01:00
|
|
|
*/python*/dist-packages/*
|
|
|
|
*/python*/site-packages/*
|
2017-05-15 11:42:11 +02:00
|
|
|
*/python*/distutils/*
|
2017-06-23 21:45:38 +02:00
|
|
|
*/pyshared/*
|
2016-11-30 06:21:53 +01:00
|
|
|
*/pytest
|