diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 51c9493..f7bd9aa 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -107,4 +107,4 @@ jobs: key: ${{ runner.os }}-gocr-${{ hashFiles('./runtime/tests/gocr') }} - name: Hyde run: | - ./test.sh hyde + ./test.sh ocr_hyde diff --git a/test.sh b/test.sh index b5d3cd0..ba57136 100755 --- a/test.sh +++ b/test.sh @@ -208,6 +208,7 @@ main() { for test in "$@"; do if [[ ! " ${tests[*]} " =~ " ${test} " ]]; then printf "Error: %s is not a known test\n" "$test" + return 1 else if "$test"; then printf "%s: Pass\n" "$test"