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

CI: report with CWL conformance test badges #134

Open
mr-c opened this issue Nov 15, 2020 · 0 comments
Open

CI: report with CWL conformance test badges #134

mr-c opened this issue Nov 15, 2020 · 0 comments

Comments

@mr-c
Copy link
Member

mr-c commented Nov 15, 2020

Like CommandLineTool (full example)

For GitHub Actions you can build the badge.net URL manually for inclusion in a report artifact

Example: https://badgen.net/badge/command_line_tool/97%25/yellow?icon=commonwl

For inclusion in documentation about the level of CWL support, then the test results need storing at a publicly accessible URL and the docs should reference that dynamic URL like https://badgen.net/https/raw.githubusercontent.com/tom-tan/conformance/master/conformance/ep3/cwl_v1.0/ep3_latest/command_line_tool.json?icon=commonwl

The badge JSON format is simple

{"subject": "command_line_tool", "status": "97%", "color": "yellow"}
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