langflow/.github
Yuqi Tang 2d5c559261
feat: Move comprehensive coverage check workflow before approved (#9482)
* Add comprehensive coverage check workflow

Created a dedicated workflow that runs code coverage before PR approval:

🚀 Coverage Runs Early:
- Triggers: Push to branches + PR events (opened, sync, ready_for_review)
- Smart filtering: Only runs when backend code changes
- Fast feedback: Unit tests only for quick coverage results

📊 Comprehensive Reporting:
- CodeCov integration with proper flags and naming
- PR comments with coverage status and links
- Workflow summary with coverage percentage
- Coverage artifacts (XML + HTML) saved for review

 Intelligent Execution:
- Path filtering: src/backend/**, pyproject.toml, uv.lock
- Branch filtering: main, develop, feature/**, fix/**, hotfix/**
- Draft protection: Skips draft PRs
- Dynamic naming: Different names for push vs PR contexts

🎯 Benefits:
- Developers get immediate coverage feedback on push
- Reviewers see coverage context during PR review
- Coverage issues caught before approval, not after
- Continuous monitoring of coverage trends across branches

This replaces the previous "coverage after approval" approach with
"coverage before approval" - exactly what was requested!

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Remove all restrictions from coverage workflow

- Coverage now runs on ANY push to ANY branch
- Coverage runs on ANY PR with ANY changes
- No path filtering - runs regardless of what files changed
- No branch filtering - runs on all branches
- Ensures coverage runs on every PR as requested

* move test to be run when we submit pr

* Configure CI to run tests before PR approval

- Remove 'lgtm' label requirement from CI trigger
- Run tests immediately on PR opened/synchronized events
- Add ci.yml to path filters to trigger tests when workflow changes
- Coverage and tests now run before approval for early feedback

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* add labeled

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-29 18:15:41 +00:00
..
actions/install-playwright chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491) 2025-06-11 18:56:04 +00:00
ISSUE_TEMPLATE chore: Remove mention of anovazzi1 from bug report template (#7265) 2025-03-25 20:53:18 +00:00
workflows feat: Move comprehensive coverage check workflow before approved (#9482) 2025-08-29 18:15:41 +00:00
changes-filter.yaml feat: Move comprehensive coverage check workflow before approved (#9482) 2025-08-29 18:15:41 +00:00
dependabot.yml ci: add lint commit workflow for pull requests (#2463) 2024-07-01 14:33:49 -07:00
release.yml feat(PR): add conditions to label pr (#2532) 2024-07-04 08:11:37 -07:00
semantic.yml chore: update targetUrl in semantic.yml (#2480) 2024-07-02 12:13:39 -07:00