Skip to content

chore: add autograph test coverage check

Tan Le requested to merge coverage-check-autograph into main

What does this merge request do and why?

This MR adds autograph folder to test coverage check.

How to set up and validate locally

  1. Check out to this merge request's branch.
  2. Run a test coverage make test-coverage.
  3. Note that autograph files are included in the report.
❯ diff before.txt after.txt
238a239,247
> autograph/__init__.py                                                    2      0   100%
> autograph/agents/__init__.py                                             3      0   100%
> autograph/agents/agent.py                                               26      0   100%
> autograph/agents/handover.py                                            24      0   100%
> autograph/agents/planning.py                                            52      0   100%
> autograph/entities/__init__.py                                           3      0   100%
> autograph/entities/config.py                                            15      0   100%
> autograph/entities/plan.py                                              16      0   100%
> autograph/entities/state.py                                             35     10    71%
243c252
< TOTAL                                                                 4926    264    95%
---
> TOTAL                                                                 5102    274    95%

Merge request checklist

  • Tests added for new functionality. If not, please raise an issue to follow up.
  • Documentation added/updated, if needed.
Edited by Tan Le

Merge request reports

Loading