We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0212cdc commit a762c68Copy full SHA for a762c68
1 file changed
docs/scripts/coverage_status.py
@@ -63,7 +63,7 @@ def get_coverage_percentage():
63
"""Return the coverage percentage from the .coverage file."""
64
cov = Coverage()
65
cov.load()
66
- cov_percent = cov.report(file=StringIO())
+ cov_percent = int(cov.report(file=StringIO()))
67
log.info(f"Test Coverage: {cov_percent}%, generating badge.")
68
69
return cov_percent
0 commit comments