Move book tests to github runners#4629
Conversation
|
We have this line in the CI.yml runs-on: ["${{ matrix.os }}", "${{ matrix.group == 'short' && 'high-memory' || 'normal-memory'}}", RPTU]It adds the label "RPTU" to ensure everything runs on RPTU runners, and also, labels a job "high memory" or "normal memory", depending on whether its the short tests, or everything else. So, I have no easy way to move just the book tests to github runners (alternatively, we get rid of trickery in this line, but then we must figure out another hack to get back the behaviour of short tests on high memory runners). Should I break out the book tests into another job, like we do with doctests? |
afaf5d3 to
894ef6f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4629 +/- ##
==========================================
+ Coverage 84.11% 84.41% +0.29%
==========================================
Files 674 674
Lines 89781 89880 +99
==========================================
+ Hits 75522 75874 +352
+ Misses 14259 14006 -253 |
Yes, I think that should be ok. It also looks nicer on the overview with the graph. |
| - 'pre' | ||
| - 'nightly' | ||
| group: | ||
| - 'book' |
There was a problem hiding this comment.
You don't need to set the group here, and could instead hardcode it below. This would also remove some duplication in the job title booktest (1.10, book).
But no high priority
|
I am happy with this being moved to another job set, bit just oit of curiosity, couldn't you also just do this: |
|
We can't do that because if it gets labeled "normal-memory" or "high-memory", then github will not pick them up either. Jobs will be assigned to runners which match all of the labels on the job. Github runners are only labelled with the OS, so, Label RPTU is only for future proofing, in case, in the future, we have a self hosted runner for Oscar which isn't hosted in RPTU. |
|
This is marked as a draft, so what exactly is to be done or decided? |
This PR started off as a check to how much slower book tests would be on the github runners v/s rptu runners. (Answer: ~10 minutes). Its not yet decided (AFAIK) whether or not you actually greenlight this change yet. |
Co-authored-by: Max Horn <max@quendi.de>
|
If they are just 10 minutes slower, I'd say, let's do this. And then we monitor. And if necessary it is easy enough to undo this, too. |
lgoettgens
left a comment
There was a problem hiding this comment.
This just needs someone (@fingolfin or @benlorenz) to adapt the list of required CI jobs
(cherry picked from commit 84f2ccf) Signed-off-by: Aaruni Kaushik <aaruni@edufor.me>
Backports for 1.3.0 : Add DOI of the book #4654 Add attribute for more detailed info on tunable sections #4636 Move book tests to github runners #4629 Update Nemo to 0.49 #4645 fix a NiceMonomorphism for GAP constructed in Oscar #4640 Polyhedral: fix hash for halfspace and related types #4600 Cleanup some code related to dim(I) == -inf checks #4571 Fix bug in G4-flux computation of big model #4647 Add more missing hash functions #4638 Document how changelog maintenance works #4579 Update changelog #4667
PR to check how long the book tests take on GH runners.