-
Notifications
You must be signed in to change notification settings - Fork 33
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
add file for the test-suite of MG5aMC and a ci related to it #865
Conversation
Good news/Bad news:
So yes we need more test :-) But I would propose to merge this anyway:-) |
…om simple reference file
Hi @roiser, I have updated the branch to allow the generation of the test (both the madgraph file and the cicd one ) from very simple file When you add the reference file, you need to run Can you add a one such file / test and give me a feedback? |
Let me also add @valassi to this PR (low priority) since I have close the related one directly targeting the master branch. |
@Andrea if you want to fix #886, I think the best is to merge this first. |
Hi @oliviermattelaer thanks for asking the review :-) Three comments
|
Hi,
The makefile change was because one of the new CI was crashing. So I decide to do it right away.
(ans looks like this is now "crucial" for your since the associated commit for the mg5amc branch has already been merged into gpucpp_june24) making important to merge this master_june24 to resolve that missmatch.
* Three, for the CI itself, why did you put all the stuff inside the plugin? I'd rather keep everything in .github workflows if this is a CI-only test essentially. Or is this meant also as a manual test? (Later on with a submodule or separate repo it could go in the .github of that.)
So yes the python script creates two files:
1) the file that MG5aMC needs to run test within the normal MG5aMC framework (so that all test can be reproduce locally with the normal search/regular expression/debug mode/... than standard MG5aMC suite.
2) This also creates the CI that simply runs the above scripts
But this is also design to be as lightweight as possible (to allow anyone to add a test (and the associated CI) in less than 3 mins.
Putting them inside .github does not sound appropriate for the #1 goal.
* (And later on we should probably restructure/rename our CI tests, even something by name SH AV OM could do, we have three different things now, just brainstorming)
This (=OM/SH/AV) has no interest to me to be exposed in the name/... git blame is there for that if/when such information is relevant.
Cheers,
Olivier
On 24 Jul 2024, at 17:15, Andrea Valassi ***@***.***> wrote:
Hi @oliviermattelaer<https://github.com/oliviermattelaer> thanks for asking the review :-)
Three comments
* One, this is against master_june24: I would first look and approve #882<#882> (channelid fixes into master), because master_june24 as-is is completely unusable for me
* Two, this is mixing two things, some CI changes and some makefile clean changes. Why do you need the makefile changes? I'd rather look at them separately (and at first sight they may well break some of my stuff)
* Three, for the CI itself, why did you put all the stuff inside the plugin? I'd rather keep everything in .github workflows if this is a CI-only test essentially. Or is this meant also as a manual test? (Later on with a submodule or separate repo it could go in the .github of that.) (And later on we should probably restructure/rename our CI tests, even something by name SH AV OM could do, we have three different things now, just brainstorming)
—
Reply to this email directly, view it on GitHub<#865 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AH6535U6RJO4GW57W33VYUTZN7AJTAVCNFSM6AAAAABI6L6J2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYGI3TOMRQGA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thanks Olivier :-)
Ok I will look at that then. But you seem to be removing a lot of 'make clean' stuff I need, so it look sproblematic. Maybe it is not, I need to test that.
Ok thanks I see. Then ok to have that partly in test (a part is needed in .github anyway as you did), I will have a look
I don't care about the name SH/AV/OM being exposed here, this was just an example or the first proposal that crossed my mind. I just want a clear naming convention and a way to distinguish them. We have three different CIs superposed. We can even call them CI1, CI2 and CI3 (or maybe CI0, CI1, CI2 - I guess that 'CI0' by SH that works on generated code will disappear eventually, while the other two CIs that generate code on the fly will stay). Is it ok for you to call them CI0, CI1, CI2? Or any better idea for names? |
For the name of the tests. I do not care too much about any of those to be honest. My point of view is the more flexible we are, the best it is (because we want that adding test SHOULD be easy for us and for future developper). Therefore, If you add a prefix it should be human readable and related to what is tested: So to focus on this PR alone here and not on the general topic. Cheers, Olivier |
Hi @oliviermattelaer, now that the new CI in #979 and #980 has been merged, is this PR still relevant? In any case if it is relevant we should first merge the june24 stuff (and update this PR accordingly). But I just wanted to know if it can be closed instead. Thanks |
Ok this is a proof of principle where we can add test within the madgraph framework and how to add them within the CID/CD.
Here I'm testing p p > t t~ within SIMD mode