summaryrefslogtreecommitdiff
path: root/.coveragerc
Commit message (Collapse)AuthorAgeFilesLines
* Introduce Cython to the project and documentBenjamin Schubert2019-05-291-0/+3
| | | | | | | | | | | | | 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
* .coveragerc: Fix coverage reporting after move to src directorychandan/src-directoryChandan Singh2019-05-211-3/+1
| | | | | | | | | * `include` directive is unnecessary as all of `buildstream` is already included, so remove it. * Having `buildstream/buildstream` in `paths` confuses `coverage combine` as it tries to insert `src/buildstream` in the path twice in that case.
* Move source from 'buildstream' to 'src/buildstream'Chandan Singh2019-05-211-1/+1
| | | | | | This was discussed in #1008. Fixes #1009.
* .coveragerc: Omit some things which are irrelevant to cover.Tristan Van Berkom2019-01-091-1/+3
| | | | | | | * Omit versioneer's _version.py * Omit our __main__.py which is used only internally for generating documentation
* Support running test environments in parallel with `detox`Tristan Van Berkom2019-01-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch namespaces the test temp directory and the output coverage report file with the name of the environment under test, such that separately run tests do not access the same files. When running tests without tox, directly through setup.py, then the tmp directory will still be `./tmp`. * .gitignore: Added new .coverage-reports/ directory * .gitlab-ci.yml: Rely on tox to combine and report coverage, only tell tox about the COVERAGE_PREFIX so that results can be namespaced by CI job name. This change also publishes the sources and final combined `.coverage` file in an output gitlab artifact for inspection, and lists some missing dependencies to the `coverage` job. * tox.ini: Add comments and refactor main [testenv] section so that other environments dont inherit too much unrelated cruft. Generate the coverate reports in the respective {envtmpdir} so that all per-process coverage files are prefixed with a full path, ensuring that concurrent runs don't mix reports and addressing concerns raised in #844. Also implemented new `tox -e coverage` environment to combine any found coverage and print a report. * .coveragerc: Omit .tox/ directory from coverage stats Fixes issue #844
* setup.py: Add grpcio dependency and support for code generationJürg Billeter2018-07-171-0/+2
| | | | This allows code generation with ./setup.py build_grpc
* .coveragerc: Ignore eggsJürg Billeter2017-11-301-0/+1
|
* .coveragerc: Configuring so that reports from different environments can be ↵Tristan Van Berkom2017-09-081-7/+11
| | | | combined
* .coveragerc: Indicate that we use multiprocessingTristan Van Berkom2017-09-061-2/+10
| | | | | | | The coverage reports do not include codepaths reached by forked processes with multiprocessing unless we configure this, now we have a more accurate report (and up from 69% to 73% !)
* Added .coveragerc and use that in setup.cfgTristan Van Berkom2017-07-171-0/+6