From b2ea1c396e1dd5957842354fa6aa4ca80beb8e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkert=20de=20Buisonj=C3=A9?= Date: Mon, 19 Aug 2024 00:36:24 +0200 Subject: [PATCH] test: troubleshoot error in test step --- .github/workflows/02-pr-checks.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/02-pr-checks.yml b/.github/workflows/02-pr-checks.yml index 3d6c55d..008c9bc 100644 --- a/.github/workflows/02-pr-checks.yml +++ b/.github/workflows/02-pr-checks.yml @@ -76,7 +76,13 @@ jobs: chmod +x /usr/local/bin/run_cicd_dos.sh /usr/local/bin/run_cicd_dos.sh # Propagate error code from DOS test or exit with error code 254 if the exit code file is missing + echo step1 dos_exit_code=$(cat test/exitcode.txt || echo 254) - if [ $dos_exit_code -ne 0 ]; then exit $dos_exit_code; fi - apt install -y dtmf2num - dtmf2num hda_out.wav + echo step2 + if [ $dos_exit_code -ne 0 ]; then + exit $dos_exit_code + fi + echo step3 + echo apt install -y dtmf2num + echo step4 + echo dtmf2num hda_out.wav