We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59bc61f commit 560825eCopy full SHA for 560825e
1 file changed
.github/workflows/tests.yml
@@ -25,7 +25,16 @@ jobs:
25
run: composer install --prefer-dist --no-progress
26
27
- name: Run tests with coverage
28
- run: ./vendor/bin/phpunit --testsuite Unit --coverage-clover=coverage/unit.xml --coverage-text 2>&1 | tee coverage/unit-summary.txt
+ run: |
29
+ set +e
30
+ ./vendor/bin/phpunit --testsuite Unit --coverage-clover=coverage/unit.xml --coverage-text 2>&1 | tee coverage/unit-summary.txt
31
+ EXIT=${PIPESTATUS[0]}
32
+ set -e
33
+ if [ "$EXIT" -eq 139 ] && [ -f coverage/unit.xml ]; then
34
+ echo "Swoole exit segfault (ignored — coverage report exists)"
35
+ exit 0
36
+ fi
37
+ exit $EXIT
38
39
- name: Upload coverage
40
uses: actions/upload-artifact@v4
0 commit comments