Skip to content
Prev Previous commit
Next Next commit
fix: update coverage exclusion list (#686)
  • Loading branch information
thomasrockhu-codecov authored May 15, 2025
commit dcb4fc909aa9f00e63eac9257bc141843cab8d5b
34 changes: 23 additions & 11 deletions codecov_cli/services/upload/file_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
]

coverage_files_excluded_patterns = [
"*.*js",
"*.SHA256SUM",
"*.am",
"*.bash",
"*.bat",
Expand All @@ -59,20 +61,25 @@
"*.cp",
"*.cpp",
"*.crt",
"*.csg",
"*.css",
"*.csv",
"*.dart",
"*.data",
"*.db",
"*.dox",
"*.ec",
"*.egg",
"*.egg-info",
"*.el",
"*.env",
"*.erb",
"*.err",
"*.exe",
"*.feature",
"*.ftl",
"*.gif",
".git*",
"*.go",
"*.gradle",
"*.gz",
"*.h",
Expand All @@ -84,23 +91,28 @@
"*.jpg",
"*.js",
"*.less",
"*.library",
"*.log",
"*.m4",
"*.mak*",
"*.map",
"*.md",
".nvmrc",
"*.module",
"*.mp4",
"*.o",
"*.p12",
"*.pem",
"*.png",
"*.pom*",
"*.profdata",
"*.proto",
"*.prototxt",
"*.ps1",
"*.pth",
"*.py",
"*.pyc",
"*.pyo",
"*.rake",
"*.rb",
"*.rsp",
"*.rst",
Expand All @@ -109,6 +121,7 @@
"*.scss",
"*.serialized",
"*.sh",
"*.sha256sum",
"*.snapshot",
"*.sql",
"*.svg",
Expand All @@ -118,17 +131,21 @@
"*.whl",
"*.xcconfig",
"*.xcoverage.*",
"*.yml",
"*.yaml",
"*.yml",
"*.zip",
"*/classycle/report.xml",
"*codecov.yml",
"codecov.yaml",
"*~",
".*coveragerc",
".coverage*",
"coverage-summary.json",
".ds_store",
".git*",
".nvmrc",
"codecov.SHA256SUM",
"codecov.SHA256SUM.sig",
"codecov.yaml",
"coverage-summary.json",
"createdFiles.lst",
"fullLocaleNames.lst",
"include.lst",
Expand All @@ -137,14 +154,9 @@
"phpunit-coverage.xml",
"remapInstanbul.coverage*.json",
"scoverage.measurements.*",
"test_*_coverage.txt",
"test-result-*-codecoverage.json",
"test_*_coverage.txt",
"testrunner-coverage*",
"*.*js",
"*.map",
"*.egg-info",
".ds_store",
"*.zip",
]

test_results_files_excluded_patterns = (
Expand Down