mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
Two changes to the test-coverage job: - The CI c8 report step never emitted lcov (only text/json summaries), so the coverage-report artifact silently skipped coverage/lcov.info (if-no-files-found: warn) — the very file the Sonar job consumes. Adding --reporter=lcov makes the artifact real for both consumers. - codecov/codecov-action v5 (SHA-pinned) uploads the lcov after the summary, with codecov.yml keeping BOTH statuses informational during calibration (D7 decision: informative first, blocking only after ~2 weeks without false blocks). Philosophy: strict patch, lenient project — the global floor/ratchet already lives in c8 60% + quality-baseline.json; Codecov adds the diff view. Workflow+config-only change; YAML parse validated; CODECOV_TOKEN secret already created by the owner.
20 lines
698 B
YAML
20 lines
698 B
YAML
# Codecov — WS5.6/D7 of the v3.8.49 quality/velocity plan.
|
|
# Philosophy: strict patch, lenient project — the project floor/ratchet already
|
|
# lives in quality-baseline.json + the c8 60% gate; Codecov adds the DIFF view
|
|
# ("new lines in this PR are covered"), which the global ratchet cannot see.
|
|
# INFORMATIONAL during calibration: nothing here blocks a PR. Promote by flipping
|
|
# informational to false after ~2 weeks without false blocks (owner decision).
|
|
coverage:
|
|
status:
|
|
project:
|
|
default:
|
|
informational: true
|
|
patch:
|
|
default:
|
|
target: 70%
|
|
informational: true
|
|
comment:
|
|
layout: "condensed_header, diff"
|
|
behavior: default
|
|
require_changes: true
|