Skip to content

Commit 157eb89

Browse files
committed
updated action
1 parent 60f66c4 commit 157eb89

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/frog.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@ jobs:
197197
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib make check
198198
continue-on-error: true
199199

200+
- name: show log on failed make check
201+
if: ${{ env.test_status != '0' }}
202+
run: |
203+
cat src/test-suite.log
204+
200205
- name: frogtests
201206
run: |
202207
git clone --depth=1 --single-branch https://github.com/LanguageMachines/frogtests.git;
@@ -206,10 +211,9 @@ jobs:
206211
echo "test_status=$TEST_STAT" >> $GITHUB_ENV
207212
continue-on-error: true
208213

209-
- name: show log on failure
214+
- name: show log on failed test
210215
if: ${{ env.test_status != '0' }}
211216
run: |
212-
cat src/test-suite.log;
213217
cat frogtests/*.err
214218
cat frogtests/*.diff
215219
@@ -220,7 +224,7 @@ jobs:
220224
server: irc.uvt.nl
221225
channel: '#gitlama'
222226
nickname: GH-${{ runner.os }}-${{ env.id }}
223-
message: "frog [${{ needs.notification.outputs.branch }}] build with ${{ matrix.compiler }} by ${{ github.actor }} on ${{ matrix.os }}: \u00034FAIL\u0003"
227+
message: "frog [${{ needs.notification.outputs.branch }}] build with ${{ matrix.compiler }} by ${{ github.actor }} on ${{ matrix.os }}: \u00034FAILED\u0003"
224228
- name: Notify IRC of success
225229
if: ${{ env.test_status == '0' }}
226230
uses: Gottox/irc-message-action@v2

0 commit comments

Comments
 (0)