Skip to content

Commit f4d5644

Browse files
robertsLandoclaude
andcommitted
ci(codecov): add slug + step name, keep unit-flag upload
Pins uploads to the yao-pkg/pkg Codecov project (prevents mis-routing on forks) and adds a readable step label. Path stays coverage/lcov.info (what .c8rc.json emits); flags: unit tags this as the unit-suite upload so a future e2e upload can use a separate flag. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent 5f87416 commit f4d5644

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ jobs:
6565
- if: needs.changes.outputs.code == 'true'
6666
run: yarn coverage:unit
6767
- if: needs.changes.outputs.code == 'true'
68+
name: Upload coverage reports to Codecov
6869
uses: codecov/codecov-action@v5
6970
with:
71+
token: ${{ secrets.CODECOV_TOKEN }}
72+
slug: yao-pkg/pkg
7073
files: coverage/lcov.info
7174
flags: unit
7275
fail_ci_if_error: false
73-
token: ${{ secrets.CODECOV_TOKEN }}
7476

7577
# Sanity check: `yarn build` succeeds on every supported OS + Node combo.
7678
# Runs in parallel with tests (they don't consume this job's output) so

0 commit comments

Comments
 (0)