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

Introducing a basic YAML schema for libraries defs #8

Merged
merged 4 commits into from
Nov 29, 2022

Conversation

beraldoleal
Copy link
Member

With this, developers can describe libraries and our GH actions could validate against a base schema. This is the first step in order to display our libraries in an organized table in our website.

We can use this schema to describe each utility library.  For now, JSON
Schemas are being used to validate YAML documents. We are using YAML
files because of because of the improved readability of the data.

Signed-off-by: Beraldo Leal <[email protected]>
tests/validate-schema.py Outdated Show resolved Hide resolved
This script it will validate all the library definition files (yml)
against a specific schema.

Signed-off-by: Beraldo Leal <[email protected]>
This would be an example library that could be used as bootstrap for
other libraries. The idea here is to show how the definition file could
be populated.

Signed-off-by: Beraldo Leal <[email protected]>
Let's see how rusty I am with GH.

Signed-off-by: Beraldo Leal <[email protected]>
@lmr
Copy link
Member

lmr commented Nov 29, 2022

LGTM

@lmr lmr merged commit f86a3cb into avocado-framework:main Nov 29, 2022
@richtja richtja mentioned this pull request Mar 1, 2023
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