Skip to content

Add coverage measurement and a coverage gate to CI #116

Description

@lucastononro

Problem. backend-test in .github/workflows/ci.yml runs pytest tests/ -v --tb=short with no coverage; pytest-cov isn't even in backend/requirements.txt. There's no visibility into what the 35 test files actually exercise.

Why it matters. Regressions in untested modules (runner, sandbox) pass green.

Suggested fix. Add pytest-cov, run pytest --cov=. --cov-report=xml --cov-report=term-missing, upload to Codecov/artifact, and set a --cov-fail-under floor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High priorityci-cdCI/CD pipeline

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions