Skip to content

Commit

Permalink
Update check_coverage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedNasser8 committed Oct 4, 2024
1 parent eb7f93f commit 75eb771
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions check_coverage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import subprocess
import sys


def run_coverage():
Expand All @@ -10,10 +9,3 @@ def run_coverage():
subprocess.run(["poetry", "run", "coverage", "report", "--fail-under=95"], check=True)
except subprocess.CalledProcessError as e:
print(f"Coverage check failed: {e}")
sys.exit(1)


if __name__ == "__main__":
print("Running coverage check...")
run_coverage()
print("Coverage check passed.")

0 comments on commit 75eb771

Please sign in to comment.