From b8ffa7a56d9844d26e4864f9d3512e6a16786b3e Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 31 May 2024 19:43:20 +0200 Subject: [PATCH] ci/GHA: show test logs on failure Closes #1401 --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a803f077..1b2393c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -205,7 +205,7 @@ jobs: - name: 'autotools tests' if: ${{ matrix.build == 'autotools' && !matrix.target }} timeout-minutes: 10 - run: make -C bld check V=1 + run: make -C bld check V=1 || { cat bld/tests/*.log; false; } - name: 'autotools distcheck' if: ${{ matrix.target == 'distcheck' }} timeout-minutes: 10 @@ -331,7 +331,7 @@ jobs: --with-crypto=openssl \ --disable-docker-tests make -j3 - make check V=1 + make check V=1 || { cat tests/*.log; false; } - name: 'cmake' if: ${{ matrix.build == 'cmake' }} @@ -415,7 +415,7 @@ jobs: if: ${{ matrix.build == 'autotools' }} timeout-minutes: 10 shell: msys2 {0} - run: make -C bld check V=1 + run: make -C bld check V=1 || { cat bld/tests/*.log; false; } - name: 'cmake configure' if: ${{ matrix.build == 'cmake' }} shell: msys2 {0} @@ -571,7 +571,7 @@ jobs: - name: 'autotools tests' if: ${{ matrix.build == 'autotools' }} timeout-minutes: 10 - run: make -C bld check V=1 + run: make -C bld check V=1 || { cat bld/tests/*.log; false; } - name: 'cmake configure' if: ${{ matrix.build == 'cmake' }} run: | @@ -673,7 +673,7 @@ jobs: --with-crypto=openssl \ --disable-docker-tests make -j3 - make check V=1 + make check V=1 || { cat tests/*.log; false; } build_omnios: name: 'OmniOS (autotools, openssl, gcc, amd64)' @@ -693,4 +693,4 @@ jobs: --with-crypto=openssl \ --disable-docker-tests gmake -j3 - gmake check V=1 + gmake check V=1 || { cat tests/*.log; false; }