Skip to content

Enhance YAML test coverage to include schema validation along with regex checks #1318

@Aarush289

Description

@Aarush289

Currently, test_yaml_regexes.py only validates the correctness of regex patterns in module YAML files. However, it does not validate the overall YAML schema structure (required fields, field types, allowed formats, etc.).

As a result, when contributors submit new modules via pull requests, schema validation must be performed manually during review. Over the past several days, multiple PRs have contained incorrect syntax, missing fields, or improperly structured keys, increasing manual review overhead and delaying merges.

To address this, I propose introducing a test file that:

  1. Validates YAML schema structure (required fields, types, allowed formats)
  2. Validates regex correctness (existing behavior)

I will be adding a new test file that performs schema validation alongside regex checks to ensure robust automated validation of module YAML files.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions