coverage
Extracts per-job line-coverage totals from pytest-cov reports in GitHub Actions logs for a specified repository and run.
Instructions
Total line coverage per job, read from pytest-cov's report in the job logs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>",
"run_id": "<run_id>"
},
"name": "coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |