mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 07:47:54 +01:00
forcing codecov
This commit is contained in:
43
codecov.yml
43
codecov.yml
@@ -15,6 +15,9 @@ coverage:
|
||||
threshold: 1% # Allow 1% decrease without failing
|
||||
base: auto # Compare against base branch (v2_develop)
|
||||
if_ci_failed: error # Fail if CI fails
|
||||
# Only measure Terminal.Gui library
|
||||
paths:
|
||||
- "Terminal.Gui/"
|
||||
|
||||
# Per-patch (PR) coverage
|
||||
patch:
|
||||
@@ -23,50 +26,44 @@ coverage:
|
||||
threshold: 5% # Allow 5% variance
|
||||
base: auto
|
||||
if_ci_failed: error
|
||||
# Only measure Terminal.Gui library
|
||||
paths:
|
||||
- "Terminal.Gui/"
|
||||
|
||||
# Comment configuration for PRs
|
||||
comment:
|
||||
layout: "diff, files, footer"
|
||||
behavior: default # Update existing comment
|
||||
require_changes: false # Always comment
|
||||
require_base: true # Require base coverage to compare
|
||||
require_head: true # Require head coverage
|
||||
branches:
|
||||
- v2_develop
|
||||
- v2_release
|
||||
require_base: true # Require base coverage to compare
|
||||
require_head: true # Require head coverage
|
||||
|
||||
# Flag-based coverage grouping (matches your workflow flags)
|
||||
flags:
|
||||
unittests-nonparallel:
|
||||
carryforward: false # Don't carry forward if missing
|
||||
paths:
|
||||
- Terminal.Gui/
|
||||
|
||||
- "Terminal.Gui/" # Only Terminal.Gui library
|
||||
unittests-parallel:
|
||||
carryforward: false
|
||||
paths:
|
||||
- Terminal.Gui/
|
||||
|
||||
- "Terminal.Gui/" # Only Terminal.Gui library
|
||||
integrationtests:
|
||||
carryforward: false
|
||||
paths:
|
||||
- Terminal.Gui/
|
||||
- "Terminal.Gui/" # Only Terminal.Gui library
|
||||
|
||||
# Files and paths to ignore
|
||||
# Files and paths to ignore (belt-and-suspenders approach)
|
||||
ignore:
|
||||
- "Examples/**/*" # Example projects
|
||||
- "Tests/**/*" # Test projects themselves
|
||||
- "UnitTests/**/*" # Legacy test location
|
||||
- "docfx/**/*" # Documentation
|
||||
- "Scripts/**/*" # PowerShell scripts
|
||||
- "Examples/**" # Example projects (no trailing /*)
|
||||
- "Tests/**" # Test projects themselves
|
||||
- "UnitTests/**" # Legacy test location
|
||||
- "docfx/**" # Documentation
|
||||
- "Scripts/**" # PowerShell scripts
|
||||
- "**/*.Designer.cs" # Auto-generated files
|
||||
- "**/obj/**/*" # Build artifacts
|
||||
- "**/bin/**/*" # Build artifacts
|
||||
|
||||
# # Path fixes (normalize Windows paths to Unix)
|
||||
# fixes:
|
||||
# - "C:/Users/runner/work/Terminal.Gui/Terminal.Gui/::" # Windows CI paths
|
||||
# - "D:/a/Terminal.Gui/Terminal.Gui/::" # Alternative Windows paths
|
||||
- "**/obj/**" # Build artifacts
|
||||
- "**/bin/**" # Build artifacts
|
||||
- "**/*.AssemblyInfo.cs" # Assembly info files
|
||||
|
||||
# Only process coverage from these branches
|
||||
branches:
|
||||
|
||||
Reference in New Issue
Block a user