Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.x] fix: warn if no code coverage driver #1060

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

calebdw
Copy link
Contributor

@calebdw calebdw commented Jan 11, 2024

What:

  • Bug Fix
  • New Feature

Description:

Hello!

An exception is thrown if a coverage report is defined in the phpunit.xml but there's no coverage driver available (when running in parallel):

image

This PR updates the runner to check if there's a driver (and warns if there's not) before trying to compile the coverage information:

image

Thanks!

@calebdw calebdw changed the title fix: warn if no code coverage driver [2.x] fix: warn if no code coverage driver Jan 11, 2024
@calebdw calebdw force-pushed the bugfix-code_coverage branch from 76db701 to be407ac Compare January 11, 2024 16:20
@nunomaduro nunomaduro merged commit cfb724c into pestphp:2.x Jan 25, 2024
32 checks passed
@calebdw calebdw deleted the bugfix-code_coverage branch December 6, 2024 22:23
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.

2 participants