Skip to content

Commit

Permalink
UNIFY-11 simplify cljs GH action and deps
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Corfield <[email protected]>
  • Loading branch information
seancorfield committed Nov 5, 2024
1 parent 9f4a287 commit b277685
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/cljs_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

- uses: DeLaGuardo/[email protected]
with:
Expand All @@ -37,10 +37,5 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: Build tests
run: clojure -M:test:cljs-build

- name: Run tests
run: |
node target/test.js | tee test-out.txt
grep -qxF '0 failures, 0 errors.' test-out.txt
run: clojure -M:test:cljs-runner
10 changes: 1 addition & 9 deletions deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,4 @@
:cljs-runner
{:extra-deps {olical/cljs-test-runner {:mvn/version "3.8.1"}}
:main-opts ["-m" "cljs-test-runner.main"
"-d" "src/test/clojure"]}
:cljs
{:extra-deps {org.clojure/clojurescript {:mvn/version "1.11.132"}}
:main-opts ["-m" "cljs.main" "-re" "node" "-r"]}
:cljs-build
{:extra-paths ["src/test/cljs"]
:extra-deps {org.clojure/clojurescript {:mvn/version "1.11.132"}}
:main-opts ["-m" "cljs.main" "-v" "-O" "advanced" "-d" "target"
"-o" "target/test.js" "-c" "clojure.core.unify-test-runner"]}}}
"-d" "src/test/clojure"]}}}

0 comments on commit b277685

Please sign in to comment.