Skip to content

Commit 4208fc7

Browse files
committed
Update phpunit-coverage.yml
1 parent 6692032 commit 4208fc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/phpunit-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# Run tests and capture coverage output
4646
coverage_output=$(npm run test-php-coverage -- --coverage-text)
4747
# Extract only the coverage report section
48-
filtered_output=$(echo "$coverage_output" | sed -n '/^ Summary:/,$p' | sed 's/ */ /g')
48+
filtered_output=$(echo "$coverage_output" | sed -n '/^Code Coverage Report:/,$p')
4949
echo "$filtered_output" | tee coverage-summary.txt
5050
echo "coverage_summary<<EOF" >> $GITHUB_ENV
5151
echo "$filtered_output" >> $GITHUB_ENV
@@ -67,7 +67,7 @@ jobs:
6767
body: |
6868
## PHPUnit Coverage Report
6969
70-
```plaintext
70+
```yaml
7171
${{ env.coverage_summary }}
7272
```
7373
edit-mode: replace

0 commit comments

Comments
 (0)