Toshio Kuratomi 513e79
# This configuration file is used for manual execution of coverage
Toshio Kuratomi 513e79
# as well as for tests run through ansible-test.
Toshio Kuratomi 513e79
Toshio Kuratomi 513e79
[run]
Toshio Kuratomi 513e79
branch = True
Toshio Kuratomi 513e79
Toshio Kuratomi 513e79
# Enable concurrency. This also enables parallel mode, which results in
Toshio Kuratomi 513e79
# multiple coverage files being created. Concurrency allows us to collect
Toshio Kuratomi 513e79
# results from multiple tests simultaneously, as well as supporting multiple
Toshio Kuratomi 513e79
# test runs, such as from integration tests.
Toshio Kuratomi 513e79
concurrency = multiprocessing
Toshio Kuratomi 513e79
parallel = True
Toshio Kuratomi 513e79
Toshio Kuratomi 513e79
# When running tests through ansible-test, this option is overridden by
Toshio Kuratomi 513e79
# the COVERAGE_FILE environment variable. This option is present for
Toshio Kuratomi 513e79
# convenience when running coverage manually from this directory.
Toshio Kuratomi 513e79
data_file = test/results/coverage/coverage
Toshio Kuratomi 513e79
Toshio Kuratomi 513e79
# Don't collect or report code coverage from files matching these patterns.
Toshio Kuratomi 513e79
omit =
Toshio Kuratomi 513e79
    */python*/dist-packages/*
Toshio Kuratomi 513e79
    */python*/site-packages/*
Toshio Kuratomi 513e79
    */python*/distutils
Toshio Kuratomi 513e79
    */pytest