Skip to content

Commit a762c68

Browse files
committed
fix: convert coverage percentage to int
1 parent 0212cdc commit a762c68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/scripts/coverage_status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def get_coverage_percentage():
6363
"""Return the coverage percentage from the .coverage file."""
6464
cov = Coverage()
6565
cov.load()
66-
cov_percent = cov.report(file=StringIO())
66+
cov_percent = int(cov.report(file=StringIO()))
6767
log.info(f"Test Coverage: {cov_percent}%, generating badge.")
6868

6969
return cov_percent

0 commit comments

Comments
 (0)