Skip to content

Commit e294c1c

Browse files
committed
CLJS-3264: Cause GitHub Actions-based tests to indicate failures
1 parent 0efe8fe commit e294c1c

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/test.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ jobs:
5050
run: ./ci/install_jsc.sh
5151

5252
- name: Run tests
53-
run: WebKit/WebKitBuild/Release/bin/jsc builds/out-adv/core-advanced-test.js
53+
run: |
54+
WebKit/WebKitBuild/Release/bin/jsc builds/out-adv/core-advanced-test.js | tee test-out.txt
55+
grep -qxF '0 failures, 0 errors.' test-out.txt
5456
5557
# Self-host Tests
5658
self-host-test:
@@ -87,7 +89,9 @@ jobs:
8789
run: clojure -A:selfhost.test.build
8890

8991
- name: Run tests
90-
run: node builds/out-self/core-self-test.js
92+
run: |
93+
node builds/out-self/core-self-test.js | tee test-out.txt
94+
grep -qxF '0 failures, 0 errors.' test-out.txt
9195
9296
# Self-parity Tests
9397
self-parity-test:
@@ -124,7 +128,9 @@ jobs:
124128
run: clojure -A:selfparity.test.build
125129

126130
- name: Run tests
127-
run: node builds/out-self-parity/main.js
131+
run: |
132+
node builds/out-self-parity/main.js | tee test-out.txt
133+
grep -qxF '0 failures, 0 errors.' test-out.txt
128134
129135
# Compiler Tests
130136
compiler-test:
@@ -197,4 +203,6 @@ jobs:
197203
run: ./script/uberjar
198204

199205
- name: Run tests
200-
run: clojure -A:cli.test.run
206+
run: |
207+
clojure -A:cli.test.run | tee test-out.txt
208+
grep -qxF '0 failures, 0 errors.' test-out.txt

0 commit comments

Comments
 (0)