-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
Dynamic generate unit test matrix and add cache option #6043
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6043 +/- ##
=======================================
Coverage 88.65% 88.65%
=======================================
Files 314 314
Lines 65688 65688
=======================================
Hits 58234 58234
Misses 7454 7454
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f459009
to
c9d0164
Compare
e51c39a
to
c9d0164
Compare
[skip ci]
c9d0164
to
2665a26
Compare
187aa2f
to
9e123a3
Compare
9e123a3
to
d3eabb3
Compare
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This PR makes it possible to generate the test matrix based on inputs. The options are default, full, and downstream. The main pain point this is trying to solve is to reduce the load on our CI when a package is released by only running one OS and Python version in the unit test suite. This will need holoviz-dev/holoviz_tasks#31 to be merged and similar changes in our other repos.
Another problem is, as far as I can see, we also have a problem with downstream tests in general, where it would use the cache packages if the main branch had run before a release/dev-release from that day and, therefore, not install the latest package, making the downstream tests a bit inconsequential.
Example of downstream dispatch run (only 1 unit test suite is run):
Inspiration: https://iscinumpy.dev/post/cibuildwheel-2-10-0/#only
Note: In #6042, I wrongly assumed I needed to merge it into the main before I could test dispatch. The problem was missing
inputs
in workflow dispatch. I have reverted the change on the main branch and pushed it here for completeness' sake.