Skip to content

Update test suite to ensure 100% code coverage#68

Merged
clue merged 1 commit intoclue:1.xfrom
clue-labs:coverage
Apr 13, 2026
Merged

Update test suite to ensure 100% code coverage#68
clue merged 1 commit intoclue:1.xfrom
clue-labs:coverage

Conversation

@clue
Copy link
Copy Markdown
Owner

@clue clue commented Apr 13, 2026

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

Builds on top of #67 and clue/reactphp-eventsource#35

@clue clue added this to the v1.10.0 milestone Apr 13, 2026
@clue clue requested a review from Copilot April 13, 2026 00:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the CI pipeline and documentation to enforce and advertise 100% statement coverage for this library across the PHP test matrix.

Changes:

  • Generates Clover coverage output in CI and adds a step to fail the job unless coverage is 100%.
  • Adds @codeCoverageIgnore annotations to exclude a couple of hard-to-cover statements from coverage metrics.
  • Updates README with a 100% coverage badge and local coverage-report instructions.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/ProxyConnector.php Adds @codeCoverageIgnore markers to exclude specific statements from coverage.
README.md Documents 100% coverage goal and adds a static 100% coverage badge plus local coverage command.
.github/workflows/ci.yml Produces clover.xml and enforces 100% statement coverage via a PHP check step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@clue clue merged commit 1206ad0 into clue:1.x Apr 13, 2026
20 checks passed
@clue clue deleted the coverage branch April 13, 2026 00:17
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