diff options
author | Benjamin Schubert <contact@benschubert.me> | 2019-05-26 09:37:26 +0100 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2019-05-29 19:47:57 +0100 |
commit | 4e9b5803e7241cc87c14126d320dc744ac4798cf (patch) | |
tree | 1f1d3bc9756b70a49defe57e73bdd3f4940504fe /.coveragerc | |
parent | d220c4c3bcf31b9d4660a6e915e70269c891bd9f (diff) | |
download | buildstream-4e9b5803e7241cc87c14126d320dc744ac4798cf.tar.gz |
Introduce Cython to the project and document
Cython requires a plugin to allow coverage of cython files, which
was updated in coveragerc. It also means we need to build the
dependencies and install cython for coverage.
Cython requires access to both source and compiled files when
running coverage. We therefore need to install project in develop
mode.
Updated documentation to explain how to run tests without tox but
with coverage
Diffstat (limited to '.coveragerc')
-rw-r--r-- | .coveragerc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc index 457c439a6..5b06d817a 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,6 @@ [run] concurrency = multiprocessing +plugins = Cython.Coverage omit = # Omit some internals @@ -11,6 +12,8 @@ omit = */.eggs/* # Omit .tox directory */.tox/* + # Omit a dynamically generated Cython file + */stringsource [report] show_missing = True |