Skip to content

Missing coverage data: pytest addopts uses --cov=sabc, so coverage collects no data #74

Description

@dosvk

Checklist item: Automated tests (non-blocking, just a config fix)

The pytest config points coverage at the wrong package:

[tool.pytest.ini_options]
addopts = [..., "--cov=sabc", "--cov-report=xml", ...]

Package is sbijax, so nothing gets measured:

CoverageWarning: No data was collected. (no-data-collected)
WARNING: Failed to generate report: No data to report.

That happened even on my fully passing run (89 passed), and since CI uploads the xml to Codecov, whatever is there is presumably empty too. sabc looks like a leftover from experiments/sabc-performance. --cov=sbijax should be the whole fix.

Not a blocker , just flagging it since the number is currently meaningless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions