Skip to content

Commit a65f45c

Browse files
committed
Show beginning of PHPUnit output in debug comment
https://claude.ai/code/session_01F4RsGjVD4jny3Lder5wqbc
1 parent 32b9a2c commit a65f45c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
script: |
116116
const fs = require('fs');
117117
const output = fs.readFileSync('/tmp/phpunit-output.txt', 'utf8');
118-
const body = `## PHPUnit failure: PHP ${{ matrix.php-version }}, ClickHouse ${{ matrix.clickhouse-version }}\n\`\`\`\n${output.slice(-3000)}\n\`\`\``;
118+
const body = `## PHPUnit failure: PHP ${{ matrix.php-version }}, ClickHouse ${{ matrix.clickhouse-version }}\n\`\`\`\n${output.slice(0, 10000)}\n\`\`\``;
119119
await github.rest.issues.createComment({
120120
owner: context.repo.owner,
121121
repo: context.repo.repo,

0 commit comments

Comments
 (0)