Make some boostAODE tests

This commit is contained in:
2024-04-08 22:30:55 +02:00
parent a1178554ff
commit fbbed8ad68
5 changed files with 66 additions and 1810 deletions

View File

@@ -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}")