Skip to content

Commit

Permalink
Try using pcov instead of phpdbg for code coverage (#22174)
Browse files Browse the repository at this point in the history
It doesn't seem to be that much faster, but it doesn't seem to have the
segfaulting problem that phpdbg has been giving us lately.

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/1616131653
  • Loading branch information
anomiex authored and matticbot committed Dec 23, 2021
1 parent 7672a0b commit 22950f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
This is an alpha version! The changes listed here are not final.

### Changed
- Switch to pcov for code coverage.
- Updated package textdomain from `jetpack` to `jetpack-password-checker`.

## [0.1.8] - 2021-12-14
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"test-coverage": [
"@composer update",
"phpdbg -d memory_limit=2048M -d max_execution_time=900 -qrr ./vendor/bin/phpunit --coverage-clover \"$COVERAGE_DIR/clover.xml\""
"php -dpcov.directory=. ./vendor/bin/phpunit --coverage-clover \"$COVERAGE_DIR/clover.xml\""
],
"test-php": [
"@composer update",
Expand Down

0 comments on commit 22950f0

Please sign in to comment.