Skip to content
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

Added recursive_resolve_and_validate_document #1375

Merged
merged 2 commits into from
Nov 17, 2020

Conversation

simleo
Copy link
Contributor

@simleo simleo commented Nov 17, 2020

Like resolve_and_validate_document, but it also calls make_tool, bringing in additional validation.

Discussed in galaxyproject/gxformat2#51.

@codecov
Copy link

codecov bot commented Nov 17, 2020

Codecov Report

Merging #1375 (c1c2aaf) into main (07ebbea) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1375      +/-   ##
==========================================
+ Coverage   77.87%   77.88%   +0.01%     
==========================================
  Files          41       41              
  Lines        7698     7702       +4     
  Branches     1963     1963              
==========================================
+ Hits         5995     5999       +4     
  Misses       1209     1209              
  Partials      494      494              
Impacted Files Coverage Δ
cwltool/load_tool.py 83.63% <100.00%> (+0.30%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 07ebbea...c1c2aaf. Read the comment docs.

Copy link
Member

@mr-c mr-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR! Some small changes are needed.

uri: str,
preprocess_only: bool = False,
skip_schemas: Optional[bool] = None,
) -> Tuple[LoadingContext, str]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
) -> Tuple[LoadingContext, str]:
) -> Tuple[LoadingContext, str, Process]:

from make mypy

tests/test_recursive_validation.py Show resolved Hide resolved
tests/test_recursive_validation.py Show resolved Hide resolved
@mr-c mr-c merged commit 521425d into common-workflow-language:main Nov 17, 2020
@mr-c
Copy link
Member

mr-c commented Nov 17, 2020

Thank you @simleo !

@simleo simleo deleted the recursive_validation branch November 17, 2020 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants