-
Notifications
You must be signed in to change notification settings - Fork 0
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
Womtool and Cromwell test run pythonize #53
Conversation
…; needs additional pkg sh
I wonder if we should have a naming convention for test wdls, such that if the wdl name starts with
@tefirman world know better than me in terms of what to test in the womtools case.
I've thought about this, that we're repeated ourselves in having two separate gha files for basic cromwell-on-gha and womtools, I am in favor of consolidating them unless @tefirman knows a good reason we should keep them separate.
I like this approach! It seems we have much more control without adding too much more complexity. |
Yeah that's the other way to go I think. Happy to do that instead. |
This baseline is perfect for now. Eventually, I'd like to check the outputs of the test run to ensure the results are what we expect for the successful runs and the error messages are what we expect for the bad runs, but let's add that in a subsequent PR.
I think it makes sense to consolidate as long as it's just the test run, i.e. no womtools, because whatever gets caught by WOMtools will get caught by the test run, but not necessarily the other way around.
I'm very pro-naming-convention, feels more visible and obvious compared to a list within the yml file.
REALLY like this approach as well! Much more flexible than the action yml alone! |
Okay, sounds good. Issue opened 👉🏽 #54
@tefirman @seankross do you mean have one yml gh action file combining the actions named "Cromwell Test Run" and "WOMtool Validation of WDL Script"?
Okay, i'll go with |
Perfect, thanks!
I think I'm suggesting skipping WOMtools altogether in this context. It's useful for more complex workflow so you don't have to wait forever for the workflow to run all the way through, but these are so simple that it's unnecessary. @seankross , do you agree?
Sounds ideal to me! |
Oh I disagree, I think we should have the womtools check for all wdls just to eliminate something womtools would catch as a source of error. Also, more complex workflows are going to make their way into this testing regime soon.
On second thought let's keep them separate.
bad sounds good 😝
yeah let's do this |
Thanks friends. SO
|
Love it, thank you! |
Perfect, thanks @sckott !! 🙏 |
…-coded python list
…lass for shelling out to java cromwell jar; updated gh actoins files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you.
This is awesome, @sckott , thanks for adding this! My only comment is that eventually we might want to split the "bad" verbiage between WOMtools and TestRun somehow. For instance, we might have a unit test that passes WOMtools validation, but fails TestRun. Not crucial right now, just wanted to write the thought down for posterity's sake. |
Attempt to move some logic from gh action for womtool validate to python pytest. Motivating reason was that we expect some wdl's to fail and it's easier to do that in python
Key points
test-validate.py
: