Skip to content

Commit 6692032

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/phpunit-coverage.yml

Lines changed: 1 addition & 1 deletion
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')
48+
filtered_output=$(echo "$coverage_output" | sed -n '/^ Summary:/,$p' | sed 's/ */ /g')
4949
echo "$filtered_output" | tee coverage-summary.txt
5050
echo "coverage_summary<<EOF" >> $GITHUB_ENV
5151
echo "$filtered_output" >> $GITHUB_ENV

0 commit comments

Comments
 (0)