Use brightgreen instead of green on the badge

This commit is contained in:
Joachim Jablon
2021-09-26 17:52:49 +02:00
committed by GitHub
parent cf6a7fd8cd
commit 896c5ef9d6

View File

@@ -230,7 +230,7 @@ def compute_badge(coverage_info: dict, config: Config) -> str:
rate = int(coverage_info["@line-rate"] * 100) rate = int(coverage_info["@line-rate"] * 100)
if rate >= config.MINIMUM_GREEN: if rate >= config.MINIMUM_GREEN:
color = "green" color = "brightgreen"
elif rate >= config.MINIMUM_ORANGE: elif rate >= config.MINIMUM_ORANGE:
color = "orange" color = "orange"
else: else: