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

Validate generated CWL TypeScript models with CWL conformance tests #3

Open
Tracked by #2
ZimmerA opened this issue Dec 17, 2021 · 0 comments
Open
Tracked by #2

Comments

@ZimmerA
Copy link
Collaborator

ZimmerA commented Dec 17, 2021

Before merging #2 the schema models have to be validated against the conformance tests found in https://github.com/common-workflow-language/cwl-v1.2/tree/1.2.1_proposed/tests.

For this @mr-c suggested the following approach:

  1. Load all tests that are not marked with should_fail: true
  2. Save all documents using their save() function and validate the output with cwltool --validate
  3. Run the tests with the newly saved documents in place of the original documents
@ZimmerA ZimmerA changed the title Validated generated cwl typescript models with cwl conformance tests Validated generated CWL TypeScript models with CWL conformance tests Dec 17, 2021
@ZimmerA ZimmerA changed the title Validated generated CWL TypeScript models with CWL conformance tests Validate generated CWL TypeScript models with CWL conformance tests Dec 20, 2021
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

No branches or pull requests

1 participant