diff --git a/.github/workflows/frog.yml b/.github/workflows/frog.yml index 7c32ac3..b8a3fb9 100644 --- a/.github/workflows/frog.yml +++ b/.github/workflows/frog.yml @@ -55,6 +55,16 @@ jobs: - uses: LanguageMachines/ticcactions/setup-cppcheck@v1 - uses: LanguageMachines/ticcactions/irc-nick@v1 + - name: Install Special Dependencies + run: | + if [ "$RUNNER_OS" == "Linux" ] + then + sudo apt-get install expect + else + brew install telnet + brew install cppcheck + fi + - uses: LanguageMachines/ticcactions/cpp-submodule-build@v1 with: module: ticcutils @@ -101,6 +111,7 @@ jobs: details: ${{ env.action_details }} - name: frogtests + id: frogtests if: ${{ env.action_status == '' }} run: | git clone --depth=1 --single-branch https://github.com/LanguageMachines/frogtests.git @@ -111,6 +122,12 @@ jobs: echo "action_details=$TEST_STAT errors" >> $GITHUB_ENV continue-on-error: true + - name: log problems + if: ${{ steps.frogtests.outcome != 'success' }} + run: | + cat frogtests/*.err + cat frogtests/*.diff + - name: Notify IRC of end result uses: LanguageMachines/ticcactions/irc-status@v1 with: