We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 616db22 + ebf5d96 commit 7f8cf76Copy full SHA for 7f8cf76
2 files changed
.github/workflows/ci.yaml
@@ -92,6 +92,10 @@ jobs:
92
- 8.4
93
- 8.5
94
- 8.6
95
+ coverage:
96
+ - none
97
+ - xdebug
98
+ - pcov
99
100
steps:
101
- name: Checkout
@@ -112,7 +116,7 @@ jobs:
112
116
uses: shivammathur/setup-php@v2
113
117
with:
114
118
php-version: ${{ matrix.php-version }}
115
- coverage: none
119
+ coverage: ${{ matrix.coverage }}
120
tools: none
121
122
- name: Get Composer cache directory
tests/RuntimeTest.php
@@ -177,6 +177,10 @@ private function markTestSkippedWhenXdebugCanCollectCoverage(): void
177
{
178
$this->markTestSkippedWhenXdebugIsLoaded();
179
180
+ if (!extension_loaded('xdebug')) {
181
+ return;
182
+ }
183
+
184
$xdebugMode = xdebug_info('mode');
185
186
assert(is_array($xdebugMode));
0 commit comments