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

fea/add spec validation for the examples #14

Merged
merged 1 commit into from
Oct 13, 2024
Merged

Conversation

mimir-d
Copy link
Collaborator

@mimir-d mimir-d commented Oct 13, 2024

- fix extension example since it was outputting a string extension which
  is invalid, per the spec (also a test)
- fix the typing to disallow primitive types for extension content
- added scripts/check.sh for easier validation before github actions get
  to run on any PRs
- fixes #5, #12

Signed-off-by: mimir-d <[email protected]>
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/ocptv
   __init__.py20100% 
   api.py80100% 
   formatter.py120100% 
src/ocptv/output
   __init__.py80100% 
   config.py540100% 
   dut.py630100% 
   emit.py650100% 
   measurement.py480100% 
   objects.py2540100% 
   run.py730100% 
   runtime_checks.py940100% 
   source.py280100% 
   step.py740100% 
TOTAL7830100% 

@mimir-d mimir-d merged commit 8eff4ea into dev Oct 13, 2024
8 checks passed
@mimir-d mimir-d deleted the fea/spec_validation branch October 13, 2024 14:53
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.

add validation against the schema from ocp-diag-core
1 participant