-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Feature] Speed up the CI tests #65
Comments
100%, the tests need to be much faster, otherwise development of |
My suspicion is that it's trying to run all of our benchmarks (meant for internal runners) in addition to the tests that came with the package, but can investigate properly when Sofia's back from leave (next week) so I don't break anything. So if we direct the CI to the correct subfolders of tests we might get around this issue? |
The original idea is that there will be tests on small datasets for CI and large datasets on internal runners. @alessandrofelder may know what's going on, but as you say, we can wait until next week. |
I don't think it's running benchmarks. I think the issue is that the workflow tests are currently slow - there is a plan to speed them up by caching and mocking. See #34 and #35. In retrospect, we maybe should have solved this issue before merging the PR... but we wanted to keep some momentum going! |
@alessandrofelder why are they so slow, compared to say the cellfinder & brainreg tests? Are they just using data that's too big? |
I think it's (at least partly) because they download the cellfinder test data from GIN via pooch three times. |
Sorry this has taken a bit longer than expected due to sick leave + Christmas break, but should now be improved in this PR. Happy to discuss if we want further improvements! |
Suggested next steps:
|
Not sure how this fits into the future plans for this package, but our CI currently has a runtime of over 2 hours. When we're using our internal runner this presumably won't be a problem, requiring mandatory status checks that take 2+hours on each PR to succeed doesn't seem healthy for our development speed (particular if there's an error in one of the middle/late tests!).
Wondering if it's possible to only run a subset of tests (maybe just the user-facing package tests) on CI so that we know we're shipping something that works. Then we can leave the heavy-lifting checks to our internal machines that can cope with the load?
The text was updated successfully, but these errors were encountered: