Skip to content

Commit 96e5f34

Browse files
authored
Independently run UI tests (#254)
1 parent 962084f commit 96e5f34

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/clojure.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ jobs:
3232
with:
3333
name: portal-client
3434
path: resources/portal
35+
test-ui:
36+
needs: [ setup ]
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v3
40+
- uses: ./.github/setup
41+
- run: bb -m tasks.test/cljs-ui
3542
test-clj:
3643
needs: [ setup, build ]
3744
strategy:
@@ -87,7 +94,7 @@ jobs:
8794
- run: bb -m tasks.test/cljr
8895
app:
8996
runs-on: ubuntu-latest
90-
needs: [ test-clj, test-cljs, test-cljr, check ]
97+
needs: [ test-ui, test-clj, test-cljs, test-cljr, check ]
9198
if: github.event_name == 'push'
9299
steps:
93100
- uses: actions/checkout@v3
@@ -100,7 +107,7 @@ jobs:
100107
force_orphan: true
101108
package:
102109
runs-on: ubuntu-latest
103-
needs: [ test-clj, test-cljs, test-cljr, check ]
110+
needs: [ test-ui, test-clj, test-cljs, test-cljr, check ]
104111
if: startsWith(github.event.head_commit.message, 'Release ')
105112
steps:
106113
- uses: actions/checkout@v3

dev/tasks/test.clj

+2-3
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
(build)
5050
(cljs-runtime "1.10.773")
5151
(cljs-runtime "1.10.844")
52-
(cljs-nbb)
53-
(cljs-ui))
52+
(cljs-nbb))
5453

5554
(defn clj
5655
[]
@@ -74,6 +73,6 @@
7473
(future (t/bb "-m" :portal.test-runner))
7574
(future (cljr))))
7675

77-
(defn test "Run all clj/s tests." [] (cljs) (clj))
76+
(defn test "Run all clj/s tests." [] (cljs) (cljs-ui) (clj))
7877

7978
(defn -main [] (test))

0 commit comments

Comments
 (0)