Skip to content

Commit 3917e36

Browse files
committed
improve log printing
1 parent 5a2f780 commit 3917e36

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/ci-sage.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,7 @@ jobs:
118118
shell: C:\tools\cygwin\bin\bash.exe --norc -eo pipefail -o igncr '{0}'
119119
run: |
120120
meson setup builddir
121-
meson test -C builddir
122-
- name: Print logs
123-
if: always()
124-
run: |
125-
cat builddir/meson-logs/testlog.txt
121+
meson test --print-errorlogs -C builddir
126122
127123
ubuntu-without-sage:
128124
runs-on: ubuntu-latest
@@ -147,11 +143,7 @@ jobs:
147143
- name: Build and check
148144
run: |
149145
meson setup builddir
150-
meson test -C builddir
151-
- name: Print logs
152-
if: always()
153-
run: |
154-
cat builddir/meson-logs/testlog.txt
146+
meson test --print-errorlogs -C builddir
155147
156148
linux:
157149
uses: sagemath/sage/.github/workflows/docker.yml@develop
@@ -218,11 +210,7 @@ jobs:
218210
X*) export ARCHFLAGS="-arch x86_64";;
219211
esac
220212
meson setup builddir
221-
meson test -C builddir
222-
- name: Print logs
223-
if: always()
224-
run: |
225-
cat builddir/meson-logs/testlog.txt
213+
meson test --print-errorlogs -C builddir
226214
227215
macos:
228216
uses: sagemath/sage/.github/workflows/macos.yml@develop

0 commit comments

Comments
 (0)