ci: stream app coverage progress

This commit is contained in:
Dennis
2026-08-20 22:14:35 +08:00
parent 378b9f67a2
commit bbaf033618
2 changed files with 10 additions and 2 deletions
@@ -165,7 +165,9 @@ func TestCoverageWorkflowShardsAndBaselineCache(t *testing.T) {
" - helpers",
" - remaining",
`./scripts/ci/test-packages.sh list-coverage "$COVERAGE_SHARD"`,
"go test -count=1 -p 1",
`if [ "$COVERAGE_SHARD" = app ]; then`,
"progress_flags=(-v)",
`go test "${progress_flags[@]}" -count=1 -p 1`,
`-coverprofile="coverage-shard-$COVERAGE_SHARD.txt"`,
"-covermode=atomic",
"name: coverage-current-shard-${{ matrix.shard }}",