-
Notifications
You must be signed in to change notification settings - Fork 345
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
[WIP] Speed up unit tests #760
Conversation
Codecov Report
@@ Coverage Diff @@
## master #760 +/- ##
==========================================
+ Coverage 81.86% 82.02% +0.16%
==========================================
Files 42 42
Lines 4984 4984
==========================================
+ Hits 4080 4088 +8
+ Misses 904 896 -8
Continue to review full report at Codecov.
|
This is an interim solution to make our CI wait times less unbearable until we switch to Jenkins. Leverages
pytest-split
and github actions' matrix strategy to split all our tests across multiple workers.If there are tests which are not part of the test durations file, then pytest-split assumes average execution time for them. This shouldn't cause too much of a problem, but I've included a script to periodically regenerate these average cases if we want to.