0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

🔧 Change backend test runner to kaocha

This commit is contained in:
Andrés Moya 2024-05-29 18:01:28 +02:00 committed by Andrey Antukh
parent 0a3a6e19f1
commit 83327ef278
3 changed files with 6 additions and 8 deletions

View file

@ -116,7 +116,7 @@ jobs:
name: "backend tests" name: "backend tests"
working_directory: "./backend" working_directory: "./backend"
command: | command: |
clojure -X:dev:test :patterns '["backend-tests.*-test"]' clojure -M:dev:test
environment: environment:
PENPOT_TEST_DATABASE_URI: "postgresql://localhost/penpot_test" PENPOT_TEST_DATABASE_URI: "postgresql://localhost/penpot_test"

View file

@ -78,12 +78,9 @@
:ns-default build} :ns-default build}
:test :test
{:extra-paths ["test"] {:main-opts ["-m" "kaocha.runner"]
:extra-deps :jvm-opts ["-Dlog4j2.configurationFile=log4j2-devenv-repl.xml"]
{io.github.cognitect-labs/test-runner :extra-deps {lambdaisland/kaocha {:mvn/version "1.88.1376"}}}
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}
:main-opts ["-m" "cognitect.test-runner"]
:exec-fn cognitect.test-runner.api/test}
:outdated :outdated
{:extra-deps {com.github.liquidz/antq {:mvn/version "RELEASE"}} {:extra-deps {com.github.liquidz/antq {:mvn/version "RELEASE"}}

View file

@ -2,4 +2,5 @@
{:tests {:tests
[{:id :unit [{:id :unit
:test-paths ["test" "src"] :test-paths ["test" "src"]
:ns-patterns [".*-test$"]}]} :ns-patterns [".*-test$"]
:kaocha/reporter [kaocha.report/dots]}]}