Skip to content

Update test suite to ensure 100% code coverage - #26

Merged
clue merged 1 commit into
clue:masterfrom
clue-labs:coverage
Oct 18, 2026
Merged

clue merged 1 commit into
clue:masterfrom
clue-labs:coverage

Conversation

@clue

@clue clue commented Oct 18, 2026

Copy link
Copy Markdown
Owner

This changeset updates the CI setup to ensure 100% code coverage.

Builds on top of #25, #24 and clue/reactphp-eventsource#35

@clue clue added this to the v0.3.0 milestone Oct 18, 2026
@clue
clue requested a balanced review from Copilot October 18, 2026 16:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The coverage gate can succeed when the report or required metrics are missing.

1 open issue
What changed in this PR

Adds a 100% statement-coverage gate to the existing CI test matrix.

Changes:

  • Generates a Clover report and checks coverage totals.
  • Excludes the legacy PHP compatibility branch from coverage.
  • Documents coverage enforcement and local reporting.
File Description
src/​TarDecoder.php Expands the legacy branch’s coverage exclusion.
README.md Adds a coverage badge and reporting instructions.
.github/​workflows/​ci.yml Generates and checks coverage metrics.

Review effort: Balanced

Comment thread .github/workflows/ci.yml
@clue
clue merged commit 55094f7 into clue:master Oct 18, 2026
15 checks passed
@clue
clue deleted the coverage branch October 18, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants