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

Improve automated config validation in CI #746

Open
a-wai opened this issue Aug 7, 2024 · 0 comments
Open

Improve automated config validation in CI #746

a-wai opened this issue Aug 7, 2024 · 0 comments
Assignees

Comments

@a-wai
Copy link
Contributor

a-wai commented Aug 7, 2024

Currently, the YAML config files are processed for basic validation using the tests/validate_yaml.py script. However, this script doesn't catch all issues; in particular, it doesn't check the sorting of top-level keys, which should be more strictly enforced as it improves long-term maintainability.

It would therefore be useful to create an additional GH Action, which would run kci config validate on the changed config. This requires of course having kci available in the CI environment, meaning it should likely run on the kernelci/kernelci docker image.

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

2 participants