Skip to content

Commit

Permalink
fix: update ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Sep 14, 2023
1 parent f921cc8 commit 0eca736
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions request.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@

print("Ensuring coverage percentage is accurate...")
# result should return 85.71429 as its coverage metric
if(str(coverage_percentage) == os.environ['CORRECT_COVERAGE']):
print("Success! Codecov's API returned the correct coverage percentage, " + os.environ['CORRECT_COVERAGE'])
if(str(coverage_percentage) == os.environ['EXPECTED_COVERAGE']):
print("Success! Codecov's API returned the correct coverage percentage, " + os.environ['EXPECTED_COVERAGE'])
exit(0)
else:
print("Whoops, something is wrong D: Codecov did not return the correct coverage percentage. Coverage percentage should be " + os.environ['CORRECT_COVERAGE']+" but Codecov returned "+ str(coverage_percentage))
print("Whoops, something is wrong D: Codecov did not return the correct coverage percentage. Coverage percentage should be " + os.environ['EXPECTED_COVERAGE']+" but Codecov returned "+ str(coverage_percentage))
exit(1)

0 comments on commit 0eca736

Please sign in to comment.