Skip to content

[quality] No CI workflow runs Python unit tests #183

@kubestellar-hive

Description

@kubestellar-hive

Finding

testing-lab has only a .github/workflows/lint.yaml that lints Argo YAML templates. There is no workflow that runs pytest on the Python test helpers.

This means:

  • Regressions in tests/service_catalog/shared/kube.py are only caught when a real cluster run fails.
  • There is no coverage gate preventing broken test infrastructure from merging.
  • The tests/shared/wait_for_shell.py script has no automated validation.

Recommendation

Add .github/workflows/unit-tests.yml that:

  1. Runs pytest on any pure-Python testable modules on every PR.
  2. Sets a --cov-fail-under threshold (suggest 60% to start).
  3. Uploads a coverage artifact.

Priority

  • Impact: high
  • Effort: low

Filed by quality agent (hold-gated mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions