-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix tests for upgrade_document #85
Conversation
Codecov Report
@@ Coverage Diff @@
## main #85 +/- ##
==========================================
+ Coverage 72.27% 75.51% +3.23%
==========================================
Files 4 4
Lines 523 535 +12
==========================================
+ Hits 378 404 +26
+ Misses 145 131 -14
Continue to review full report at Codecov.
|
👍👍
Interesting. This does not match the behavior of the reference runner. https://github.com/common-workflow-language/cwltool/blob/352daf6d53f12df4cd960c0343ef659924aa9712/cwltool/update.py#L127 @tetron Do you remember why we put these as hints instead of requirements? |
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.
A couple lines without test coverage.
ping! |
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.
LGTM, but @tetron needs to share his opinion about adding LoadListingRequirement
and NetworkAccess
to reqs instead of hints when upgrading v1.0 → v1.1
This request fixes tests that were added by #79 (introduced by me :-( ).
They should check the upgraded document and the expected document but they do not in the current implementation.
I also change
_v1_0_to_v1_1
to addLoadListingRequirement
andNetworkAccess
torequirements
rather thanhints
not to break the behavior of given CWL documents. See listing_deep1.cwl for example.