Skip to content

Commit

Permalink
Fix upload script
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Jul 9, 2020
1 parent a195c7b commit 96f85b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/coverage/upload_codecov.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
max_tries = 10
num_tries = 1
cmd = 'codecov --required'
rc = call(cmd)
rc = call(cmd, shell=True)
while rc != 0 and num_tries < max_tries:
time.sleep(5)
rc = call(cmd)
rc = call(cmd, shell=True)
num_tries += 1

raise SystemExit(rc)

0 comments on commit 96f85b4

Please sign in to comment.