From 638efbbc5bbff95647bb29b747398400d6a5d118 Mon Sep 17 00:00:00 2001 From: Adrien Nayrat Date: Mon, 20 Oct 2025 12:48:40 +0200 Subject: [PATCH] Only run actions on push and truncate log output --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 671fcfc..6975bd6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,7 @@ --- name: GitHub Actions tests run-name: Tests triggered by ${{ github.actor }} -on: [push, pull_request] +on: [push] jobs: @@ -26,5 +26,5 @@ jobs: - name: Execute all tests run: PATH="/usr/lib/postgresql/${{ matrix.pg }}/bin/:$PATH" prove - name: print logs if test failed - run: cat tmp_check/log/* + run: head -n 100000 tmp_check/log/* if: ${{ failure() }}