Skip to content

Update Codecov config to be less strict#3249

Merged
sfeilmeier merged 1 commit intoOpenEMS:developfrom
da-Kai:feature/codecov-dont-fail-develop
Jul 25, 2025
Merged

Update Codecov config to be less strict#3249
sfeilmeier merged 1 commit intoOpenEMS:developfrom
da-Kai:feature/codecov-dont-fail-develop

Conversation

@da-Kai
Copy link
Copy Markdown
Contributor

@da-Kai da-Kai commented Jul 24, 2025

  • Never fail on develop and main
  • Be less strict

Increased patch coverage threshold from 0% to 10% and added '!main' and '!develop' to branch exclusions for both coverage and patch sections. Also excluded 'develop' branch in component management to align coverage reporting with main development branches.
@da-Kai da-Kai requested a review from Copilot July 24, 2025 20:22
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Codecov configuration to be less strict with coverage requirements by excluding main and develop branches from certain coverage checks and adjusting thresholds.

  • Excludes main and develop branches from coverage target and patch checks to prevent CI failures
  • Increases patch coverage threshold from 0% to 10% for other branches
  • Adds develop branch exclusion to existing component management configuration

@da-Kai da-Kai requested a review from sfeilmeier July 24, 2025 20:23
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #3249      +/-   ##
=============================================
+ Coverage      59.35%   59.40%   +0.05%     
  Complexity       139      139              
=============================================
  Files           2701     2701              
  Lines         117464   117464              
  Branches        8719     8719              
=============================================
+ Hits           69710    69767      +57     
+ Misses         45138    45070      -68     
- Partials        2616     2627      +11     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sfeilmeier sfeilmeier merged commit 7646a78 into OpenEMS:develop Jul 25, 2025
6 of 7 checks passed
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.

3 participants