ApiDog cli doesn't throw an error on Github actions when tests fail

Eventhough the tests fail and are raising error the github actions are not showing a failing state as you can see on the image attached.

The apidog CLI exits with an exit code of 1 when there is an error in the test cases. This issue might be related to your environment. You can try executing set -e before the apidog CLI command, like this:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Run script with set -e
        run: |
          set -e
          echo "Running some commands..."
          false  # This will cause the script to exit immediately
          echo "This line will not be executed"

Thank you Vin It works now the command is exiting on error.