From 53137487b77fbdf7e50120aa2de8c5645a34691f Mon Sep 17 00:00:00 2001 From: Simon Hamp Date: Fri, 6 Nov 2026 13:01:54 +0000 Subject: [PATCH] Show only failing tests in CI output Run the suite with --compact so passing tests print as dots and only failures get the full details. Widen the runner's terminal to 200 columns too, because at 80 the names of failed tests were cut off. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 73e4319a..a4e91f3b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,5 +44,9 @@ jobs: - name: Generate app key run: php artisan key:generate + # Compact prints a dot per passing test and the details of failures only. The runner's + # terminal is 80 columns, which cuts the names of failed tests short, so widen it. - name: Execute tests - run: php artisan test + run: php artisan test --compact + env: + COLUMNS: 200