From 3917e3605c3416c7547f99c41673fc52b6c31228 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Wed, 30 Oct 2024 11:34:09 +0800 Subject: [PATCH] improve log printing --- .github/workflows/ci-sage.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-sage.yml b/.github/workflows/ci-sage.yml index 48311bc..180fc56 100644 --- a/.github/workflows/ci-sage.yml +++ b/.github/workflows/ci-sage.yml @@ -118,11 +118,7 @@ jobs: shell: C:\tools\cygwin\bin\bash.exe --norc -eo pipefail -o igncr '{0}' run: | meson setup builddir - meson test -C builddir - - name: Print logs - if: always() - run: | - cat builddir/meson-logs/testlog.txt + meson test --print-errorlogs -C builddir ubuntu-without-sage: runs-on: ubuntu-latest @@ -147,11 +143,7 @@ jobs: - name: Build and check run: | meson setup builddir - meson test -C builddir - - name: Print logs - if: always() - run: | - cat builddir/meson-logs/testlog.txt + meson test --print-errorlogs -C builddir linux: uses: sagemath/sage/.github/workflows/docker.yml@develop @@ -218,11 +210,7 @@ jobs: X*) export ARCHFLAGS="-arch x86_64";; esac meson setup builddir - meson test -C builddir - - name: Print logs - if: always() - run: | - cat builddir/meson-logs/testlog.txt + meson test --print-errorlogs -C builddir macos: uses: sagemath/sage/.github/workflows/macos.yml@develop