Skip to content

Commit

Permalink
test: Remove README tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KingMob committed Mar 21, 2024
1 parent 7e40699 commit f0a164d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,11 @@ jobs:
key: gitlibs-${{ hashFiles('deps.edn') }}

- name: Prepare dependencies
run: clojure -M:test:clj-test:cljs-test:readme-test -P
run: clojure -P -M:test:clj-test:cljs-test

- name: Run Clojure tests
run: clojure -X:test:clj-test

- name: Run ClojureScript tests
run: clojure -M:test:cljs-test

- name: Run README tests
run: clojure -M:test:readme-test
5 changes: 1 addition & 4 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@
test {:doc "Run test"
:task (run '-test)}

-test {:depends [test:clj test:cljs test:readme]}
-test {:depends [test:clj test:cljs]}

test:clj {:doc "Run Clojure test"
:task (clojure "-X:test:clj-test")}

test:cljs {:doc "Run ClojureScript test"
:task (clojure "-M:test:cljs-test")}

test:readme {:doc "Run README test"
:task (clojure "-M:test:readme-test")}

lint {:doc "Run Clojure linters"
:task (shell "clj-kondo --lint src test")}

Expand Down
2 changes: 0 additions & 2 deletions deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
:exec-fn cognitect.test-runner.api/test}
:cljs-test {:extra-deps {olical/cljs-test-runner {:mvn/version "3.8.0"}}
:main-opts ["--main" "cljs-test-runner.main"]}
:readme-test {:extra-deps {seancorfield/readme {:mvn/version "1.0.16"}}
:main-opts ["--main" "seancorfield.readme"]}
:js-build {:main-opts ["--main" "cljs.main"
"--optimizations" "advanced"
"--compile" "inferenceql.query.js"]}
Expand Down

0 comments on commit f0a164d

Please sign in to comment.