Skip to content

Commit 4e4452d

Browse files
committed
docs(testing): coverage guide matches CI — artifact, not a third-party uploader
1 parent 3d8d3d8 commit 4e4452d

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

‎wiki/testing/guide.md‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,15 +609,21 @@ aspm coverage --format lcov --output coverage.lcov
609609

610610
### Coverage in CI
611611

612+
Coverage is visibility-only: the report is attached to the run as an artifact, not shipped
613+
to a third-party service. This is what `.github/workflows/ci.yml` actually does (see
614+
`docs/standards/TESTING.adoc`, "Coverage (visibility-only)") — no upload token, no external
615+
account, and nothing for Dependabot to keep bumping.
616+
612617
```yaml
613618
# .github/workflows/ci.yml
614619
- name: Run tests with coverage
615620
run: aspm test --coverage
616621

617-
- name: Upload coverage
618-
uses: codecov/codecov-action@v3
622+
- name: Upload coverage report
623+
uses: actions/upload-artifact@v7.0.1
619624
with:
620-
file: coverage.lcov
625+
name: coverage-lcov
626+
path: coverage.lcov
621627
```
622628
623629
---

0 commit comments

Comments
 (0)