Skip to content

Commit

Permalink
Trying to fix GHA test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfsimplicity committed Jun 10, 2024
1 parent 61d2762 commit a16cd5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ jobs:
run: box server start cfengine=${{ matrix.cfengine }} port=8080

- name: Run TestBox Tests
run: box testbox run
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]\?\]\|<t[^>]*>\|<b[^>]*>" <<< $testResults; then exit 1; fi
3 changes: 0 additions & 3 deletions box.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
"devDependencies" : {
"testbox" : ">=5.0.0"
},
"installPaths":{
"testbox":"test/testbox/"
},
testbox:{
runner:[
{ "default": "http://localhost:8080/test/index.cfm" }
Expand Down

0 comments on commit a16cd5d

Please sign in to comment.