We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7f8284 commit 59bc61fCopy full SHA for 59bc61f
.github/workflows/tests.yml
@@ -53,11 +53,13 @@ jobs:
53
54
- name: Run tests with coverage
55
run: |
56
+ set +e
57
./vendor/bin/phpunit --testsuite Integration --coverage-clover=coverage/integration.xml --coverage-text 2>&1 | tee coverage/integration-summary.txt
- EXIT=$?
58
+ EXIT=${PIPESTATUS[0]}
59
+ set -e
60
# Swoole can segfault on process exit after coverage generation;
61
# treat it as success if the clover report was written.
- if [ $EXIT -eq 139 ] && [ -f coverage/integration.xml ]; then
62
+ if [ "$EXIT" -eq 139 ] && [ -f coverage/integration.xml ]; then
63
echo "Swoole exit segfault (ignored — coverage report exists)"
64
exit 0
65
fi
0 commit comments