Skip to content

Commit

Permalink
CLJS-3264: Cause GitHub Actions-based tests to indicate failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mfikes committed Jul 12, 2020
1 parent 0efe8fe commit e294c1c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ jobs:
run: ./ci/install_jsc.sh

- name: Run tests
run: WebKit/WebKitBuild/Release/bin/jsc builds/out-adv/core-advanced-test.js
run: |
WebKit/WebKitBuild/Release/bin/jsc builds/out-adv/core-advanced-test.js | tee test-out.txt
grep -qxF '0 failures, 0 errors.' test-out.txt
# Self-host Tests
self-host-test:
Expand Down Expand Up @@ -87,7 +89,9 @@ jobs:
run: clojure -A:selfhost.test.build

- name: Run tests
run: node builds/out-self/core-self-test.js
run: |
node builds/out-self/core-self-test.js | tee test-out.txt
grep -qxF '0 failures, 0 errors.' test-out.txt
# Self-parity Tests
self-parity-test:
Expand Down Expand Up @@ -124,7 +128,9 @@ jobs:
run: clojure -A:selfparity.test.build

- name: Run tests
run: node builds/out-self-parity/main.js
run: |
node builds/out-self-parity/main.js | tee test-out.txt
grep -qxF '0 failures, 0 errors.' test-out.txt
# Compiler Tests
compiler-test:
Expand Down Expand Up @@ -197,4 +203,6 @@ jobs:
run: ./script/uberjar

- name: Run tests
run: clojure -A:cli.test.run
run: |
clojure -A:cli.test.run | tee test-out.txt
grep -qxF '0 failures, 0 errors.' test-out.txt

0 comments on commit e294c1c

Please sign in to comment.