Skip to content

Commit 875dd8f

Browse files
fixup print stderr always
Co-authored-by: Thomas Carmet <8408330+tcarmet@users.noreply.github.com>
1 parent 38badb7 commit 875dd8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ jobs:
144144
env: ${{ matrix.test.env }}
145145
- name: Print stderr logs
146146
run: grep -H "" *.stderr.log || true
147+
if: always()
147148
- name: Error if stderr logs are not empty
148149
run: if [ -n "$(find . -name '*.stderr.log' -size +0c)" ]; then exit 1; fi
149150

@@ -253,6 +254,7 @@ jobs:
253254
if: ${{ ( github.event.inputs.debug == true || github.event.inputs.debug == 'true' ) }}
254255
- name: Print stderr logs
255256
run: grep -H "" *.stderr.log || true
257+
if: always()
256258
- name: Error if stderr logs are not empty
257259
run: if [ -n "$(find . -name '*.stderr.log' -size +0c)" ]; then exit 1; fi
258260

@@ -375,5 +377,6 @@ jobs:
375377
if: ${{ ( github.event.inputs.debug == true || github.event.inputs.debug == 'true' ) }}
376378
- name: Print stderr logs
377379
run: grep -H "" *.stderr.log || true
380+
if: always()
378381
- name: Error if stderr logs are not empty
379382
run: if [ -n "$(find . -name '*.stderr.log' -size +0c)" ]; then exit 1; fi

0 commit comments

Comments
 (0)