Skip to content

Commit

Permalink
continue if cache not found
Browse files Browse the repository at this point in the history
  • Loading branch information
ZainRizvi committed May 4, 2023
1 parent 53ce967 commit 08b4e02
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/scripts/pytest_cache.py
Expand Up @@ -47,10 +47,12 @@ def main():

# verify the cache dir exists
if not os.path.exists(args.cache_dir):
print(f"ZR: The given pytest cache dir `{args.cache_dir}` does not exist")
print("trying to cache it anyways")
# raise an invalid input exception
raise ValueError(
f"The given pytest cache dir `{args.cache_dir}` does not exist"
)
# raise ValueError(
# f"The given pytest cache dir `{args.cache_dir}` does not exist"
# )

print(os.getenv("AWS_ACCESS_KEY_ID"))
upload_pytest_cache(
Expand Down

0 comments on commit 08b4e02

Please sign in to comment.