Skip to content

Collect code coverage of the client in unit tests - #21

Merged
pavog merged 1 commit into
masterfrom
align-tests-workflow
Oct 16, 2026
Merged

pavog merged 1 commit into
masterfrom
align-tests-workflow

Conversation

@pavog

@pavog pavog commented Oct 16, 2026

Copy link
Copy Markdown
Member

This PR adds a coverage report to the unit tests.

tests.yaml

  • PHP is set up with pcov.
  • The unit tests write a clover report to coverage.xml. There is no coverage threshold, so the report does not fail the build.

phpunit.xml.dist

  • Coverage is only collected for src/Client. The generated code in src/Api and src/Model is not tested directly.
  • The file is reformatted with 4 spaces, and the unit suite is listed first.

@pavog
pavog merged commit cb925b8 into master Oct 16, 2026
5 checks passed
@pavog
pavog deleted the align-tests-workflow branch October 16, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant