Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add codecov.yml codecov configuration file (#3976)
A Codecov configuration file `codecov.yml` is added in the package root. In it, the following is specified: * Upload only if CI passes (I guess this is only true for the CI jobs that run pytest in Python 3.5). * Add PR comment/status report when two builds have been received i.e. when the Python 3.5 pytest jobs have run for both backends in order to avoid confusion when only one of the CI jobs have finished and' the codecov report is suddenly reporting missing lines. * Use default range for coloration 70-100 % * Round percentages up (instead of down). * Set threshold for failing codecov/project CI status to 0.02% which will prevent false positives from failing the build. The options to report the timings are removed from `pytest.ini` and moved to the CI test script such that they do not spam developers when running the tests locally since there is no way to disable this output dynamically and so it was always being printed.
- Loading branch information