From d33ac61824d47be2f749106afe4d8d196648c153 Mon Sep 17 00:00:00 2001 From: cfsimplicity Date: Mon, 10 Jun 2024 11:09:03 +0100 Subject: [PATCH] Trying to fix GHA test failures. --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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