diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c78348b..e0fd45e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,4 +35,7 @@ jobs: run: box server start cfengine=${{ matrix.cfengine }} port=8080 - name: Run TestBox Tests - run: box testbox run \ No newline at end of file + run: | + testResults="echo $(box testbox run reporter=mintext)"; + echo "$testResults"; + if grep -i "\[Failures: [1-9][0-9]\?[0-9]\?\]\|\[Errors: [1-9][0-9]\?[0-9]\?\]\|]*>\|]*>" <<< $testResults; then exit 1; fi \ No newline at end of file