Make some boostAODE tests
This commit is contained in:
@@ -12,7 +12,7 @@ output = subprocess.check_output(
|
||||
)
|
||||
value = float(output.decode("utf-8").strip().replace("%", ""))
|
||||
if value < 90:
|
||||
print("Coverage is less than 90%. I won't update the badge.")
|
||||
print("⛔Coverage is less than 90%. I won't update the badge.")
|
||||
sys.exit(1)
|
||||
percentage = output.decode("utf-8").strip().replace(".", ",")
|
||||
coverage_line = (
|
||||
@@ -27,4 +27,4 @@ with open(readme_file, "w") as f:
|
||||
f.write(coverage_line + "\n")
|
||||
else:
|
||||
f.write(line)
|
||||
print(f"Coverage updated with value: {percentage}")
|
||||
print(f"✅Coverage updated with value: {percentage}")
|
||||
|
Reference in New Issue
Block a user