File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -288,6 +288,7 @@ jobs:
288288 min-coverage-overall : 0
289289 min-coverage-changed-files : 0
290290 skip-if-no-changes : true
291+ comment-type : summary
291292 title : ' ## Base Coverage Snapshot'
292293 update-comment : false
293294
@@ -300,6 +301,7 @@ jobs:
300301 min-coverage-overall : 0
301302 min-coverage-changed-files : 0
302303 skip-if-no-changes : true
304+ comment-type : summary
303305 title : ' ## PR Code Coverage Report'
304306 update-comment : false
305307
@@ -312,7 +314,7 @@ jobs:
312314 set -euo pipefail
313315
314316 MIN_CHANGED=60
315- MAX_DROP=-0.1
317+ MAX_DROP=-0.4
316318
317319 sanitize() {
318320 echo "$1" | tr -d ' %'
@@ -386,7 +388,7 @@ jobs:
386388
387389 # 4) Decide CI pass/fail
388390 if [ "$DELTA_OK" -ne 1 ]; then
389- echo "Coverage gate failed: overall coverage dropped more than 0.1 %."
391+ echo "Coverage gate failed: overall coverage dropped more than 0.4 %."
390392 echo "base=${BASE_OVERALL}% pr=${PR_OVERALL}% delta=${DELTA}%"
391393 exit 1
392394 fi
You can’t perform that action at this time.
0 commit comments