-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CI #592
Fix CI #592
Conversation
rth
commented
Feb 29, 2024
- Switch to fetching starting kit repos via HTTP rather than using git clone. As far as I can tell all those git clone in CI tests were triggering some github safety blocking the requests, leading the CI to hang.
- Fix for leap year on 29 february,
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #592 +/- ##
==========================================
- Coverage 93.51% 93.48% -0.04%
==========================================
Files 103 103
Lines 8976 8991 +15
==========================================
+ Hits 8394 8405 +11
- Misses 582 586 +4 ☔ View full report in Codecov by Sentry. |
This reverts commit f632800.
@@ -172,8 +195,10 @@ def setup_ramp_kit_ramp_data( | |||
'it, you need to set "force=True".' | |||
) | |||
shutil.rmtree(problem_data_path, ignore_errors=True) | |||
ramp_data_url = "https://github.com/ramp-data/{}.git".format(problem_name) | |||
Repo.clone_from(ramp_data_url, problem_data_path, **kwargs) | |||
ramp_kit_url = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ramp_data_url
here instead of ramp_kit_url
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, good point thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @rth ! LGTM
Just see the comment line 198 of testing.py
ramp_kit_url = ( | ||
f"https://github.com/ramp-data/{problem_name}/archive/refs/heads/master.zip" | ||
) | ||
_fetch_github_repo(ramp_kit_url, problem_data_path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ramp_data_url
also