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 57ef969 commit 4009de5Copy full SHA for 4009de5
.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
+ # Extract only the coverage report section, starting from "Summary:" line
48
filtered_output=$(echo "$coverage_output" | sed -n '/^Summary:/,$p')
49
echo "$filtered_output" | tee coverage-summary.txt
50
echo "coverage_summary<<EOF" >> $GITHUB_ENV
51
- echo "$filtered_output" >> $GITHUB_ENV
+ cat coverage-summary.txt >> $GITHUB_ENV
52
echo "EOF" >> $GITHUB_ENV
53
54
- name: Find Comment
0 commit comments