-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
CI tests take 20 mins #231
Comments
Happy to take a look at this as my first issue here! Let me know your thoughts/any info I'm missing on the current CI setup as this is my very first glance at the code. A full pytest runs in around 3:45 for me locally. Doesn't seem like I have permission to re-run somebody else's Github action to test CI speed. I'm assuming if I make my own branch and PR, this would be the easiest way to test CI speed? CI runners suffer from several things (other than generally limited resources): 1. Cold environment
2. Higher network latency
3. Restrictions on parallelisation
4. Slower disk I/O
Below are some areas we could look at to help tackle the above: 1. Cold Environment
2. Higher Network Latency
3. Restrictions on Parallelisation
4. Slower Disk I/O
|
Any help would be great |
Yea, if you fork and run github actions yourself, thats probably the best way to do it |
Sorry, going very slowly on this with Christmas activities going on. Upon cloning I immediately ran into some failing tests, so I need to see to that before I can analyse the speed issue. Any idea if the failing tests are a common/known issue before I look deeper into them? |
Which tests are failing? You might need to log in to huggingface, but I'm not totaly sure |
Thanks, here's what I've done to consistently get to this impasse:
I got the following failures, which all seem environment-related. Let me know if there are any specific setup steps you can think of that I might have missed. test_run_forecast (FileNotFoundError): test_run_eval and test_get_pv_metadata (EmptyDataError): test_get_pv (OSError): test_get_file_path (ValueError): |
|
The pytest.yaml is slow in CI. For me they are also quick locally |
Is there a way to speed up CI tests?
Locally they are a lot quicker for me?
Investigate what is taking a long time in CI
The text was updated successfully, but these errors were encountered: