mirror of
https://github.com/cline/cline.git
synced 2026-09-11 05:47:07 +08:00
* add coverage to github workflows * add changeset * continue to run on errors * address comments from ellipsis-dev * add unit tests, confirm passing * remove pyproject.toml approach to deps instalL * use github_output env var * add verbose mode for debugging * verbose was not being captured * std out, not print * remove 1000 line dump... * print every line separately to prevent clipping * build extension before testing * clean up debugging prints * break coverage.py into smaller files * break coverage.py into smaller files * Relative module names not supported * rename coverage to coverage_check to avoid naming collision * rename coverage to coverage_check to avoid naming collision * debugging missing coverage files * output error on coverage report * handling ellipsis-dev comments * see if we need vscode test deps * experimenting to try to get it running * use absolute paths * put everything in root directory * address more comments from ellipsis-dev * import run_command in extraction.py * fix verbose flag * use parent parser * ensure safe command test will allow our commands * make sure we install before coverage * update tests to ensure run --------- Co-authored-by: Dennis Bartlett <bartlett.dc.1@gmail.com>
20 lines
609 B
Python
20 lines
609 B
Python
"""
|
|
Coverage utility package for GitHub Actions workflows.
|
|
This package handles extracting coverage percentages, comparing them, and generating PR comments.
|
|
"""
|
|
|
|
# Import external dependencies
|
|
import requests
|
|
|
|
# Import main function for CLI usage
|
|
from .__main__ import main
|
|
|
|
# Import functions from extraction module
|
|
from .extraction import extract_coverage, compare_coverage, run_coverage, set_verbose
|
|
|
|
# Import functions from github_api module
|
|
from .github_api import generate_comment, post_comment, set_github_output
|
|
|
|
# Import functions from workflow module
|
|
from .workflow import process_coverage_workflow
|