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.
1 parent 4009de5 commit 5864c4eCopy full SHA for 5864c4e
.github/workflows/phpunit-coverage.yml
@@ -44,11 +44,11 @@ jobs:
44
run: |
45
# Run tests and capture coverage output
46
coverage_output=$(npm run test-php-coverage -- --coverage-text)
47
- # Extract only the coverage report section, starting from "Summary:" line
48
- filtered_output=$(echo "$coverage_output" | sed -n '/^Summary:/,$p')
+ # Extract only the coverage report section
+ filtered_output=$(echo "$coverage_output" | sed -n '/^Code Coverage Report:/,$p')
49
echo "$filtered_output" | tee coverage-summary.txt
50
echo "coverage_summary<<EOF" >> $GITHUB_ENV
51
- cat coverage-summary.txt >> $GITHUB_ENV
+ echo "$filtered_output" >> $GITHUB_ENV
52
echo "EOF" >> $GITHUB_ENV
53
54
- name: Find Comment
0 commit comments