Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Measure coverage #13

Merged
merged 1 commit into from Feb 25, 2019
Merged

Measure coverage #13

merged 1 commit into from Feb 25, 2019

Conversation

csomh
Copy link
Contributor

@csomh csomh commented Feb 25, 2019

Enable measuring code coverage, and publish the results to Coveralls.

Fail the unit tests, if coverage drops bellow the current level.

tests/__init__.py had to be added, otherwise no code coverage data
was collected (some strange behaviour of pytest-cov or some underlying
library).

Signed-off-by: Hunor Csomortáni csomh@redhat.com

Enable measuring code coverage, and publish the results to Coveralls.

Fail the unit tests, if coverage drops bellow the current level.

`tests/__init__.py` had to be added, otherwise no code coverage data
was collected (some strange behaviour of pytest-cov or some underlying
library).

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
@MartinBasti
Copy link
Contributor

Thank you, looks great!

@MartinBasti MartinBasti merged commit b4dd705 into release-engineering:master Feb 25, 2019
@csomh csomh deleted the measure-coverage branch February 26, 2019 10:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants