Skip to content

ci: add codecov coverage reporting and pytest-cov dependency#374

Open
annapurna-gupta wants to merge 1 commit intomesa:mainfrom
annapurna-gupta:add-codecov-coverage
Open

ci: add codecov coverage reporting and pytest-cov dependency#374
annapurna-gupta wants to merge 1 commit intomesa:mainfrom
annapurna-gupta:add-codecov-coverage

Conversation

@annapurna-gupta
Copy link

Part of mesa/mesa#2782 — adds codecov coverage

Changes:

  • Add pytest-cov to test dependencies in pyproject.toml
  • Add --cov=examples --cov-report=xml flags to pytest run in build-main job
  • Add codecov/codecov-action@v4 step to upload coverage results to Codecov

Coverage is only tracked in build-main (against Mesa GitHub main) since that is the stable reference point.

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

Successfully merging this pull request may close these issues.

1 participant