mirror of
https://github.com/saltbo/zpan.git
synced 2026-08-28 15:51:29 +08:00
ci: ratchet canonical coverage baseline
This commit is contained in:
+6
-4
@@ -39,11 +39,13 @@ const coverageConfig = {
|
||||
const coverageGate =
|
||||
process.env.COVERAGE_ENFORCE === '1'
|
||||
? {
|
||||
// Integer floors of the merged CI shard baseline. Keep this as a ratchet:
|
||||
// production growth must preserve or improve the repository-wide result.
|
||||
thresholds: {
|
||||
statements: 85,
|
||||
branches: 80,
|
||||
functions: 75,
|
||||
lines: 90,
|
||||
statements: 86,
|
||||
branches: 75,
|
||||
functions: 66,
|
||||
lines: 94,
|
||||
},
|
||||
}
|
||||
: {}
|
||||
|
||||
Reference in New Issue
Block a user