1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-01-27 00:18:12 +03:00

ci/GHA: show test logs on failure

Closes #1401
This commit is contained in:
Viktor Szakats
2024-05-31 19:43:20 +02:00
parent 839bb84e89
commit b8ffa7a56d

View File

@@ -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; }