forcing codecov

This commit is contained in:
Tig
2025-11-11 19:58:59 -07:00
parent e793dcb1de
commit e4cd9817e9
2 changed files with 542 additions and 23 deletions

View File

@@ -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: