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 6cb0e10 commit 032e06e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Changed
- Switch to pcov for code coverage.

## 1.0.0 - 2021-12-22
### Added
- Initial release.

[1.0.1-alpha]: https://github.com/Automattic/ignorefile/compare/v1.0.0...v1.0.1-alpha
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 install",
"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 install",
Expand Down

0 comments on commit 032e06e

Please sign in to comment.