Skip to content

Commit

Permalink
test: troubleshoot error in test step
Browse files Browse the repository at this point in the history
  • Loading branch information
volkertb committed Aug 18, 2024
1 parent 64d0274 commit b2ea1c3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/02-pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b2ea1c3

Please sign in to comment.