Skip to content

Commit

Permalink
OPHY-619-8: Only load test dependencies when running with a test profile
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkku committed Jul 18, 2023
1 parent fab514e commit ce3192a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions project.clj
Expand Up @@ -22,9 +22,7 @@

:pedantic? :abort

:plugins [[lein-ancient "0.7.0"]
[lein-environ "1.2.0"]
[speclj "3.4.3"]
:plugins [[lein-environ "1.2.0"]
[reifyhealth/lein-git-down "0.4.1"]]

:managed-dependencies [[org.clojure/clojure "1.11.1"]
Expand Down Expand Up @@ -139,8 +137,6 @@
[yesql]
[hikari-cp]
[org.flywaydb/flyway-core]
[speclj]
[speclj-junit]
[environ]
[org.clojure/tools.logging "1.2.4"]
[buddy/buddy-core]
Expand All @@ -159,13 +155,19 @@
:configdefaults "server/config/test.edn"
:environment "test"}
:test-paths ["server/spec"]
:resource-paths ["server/test-resources"]}
:resource-paths ["server/test-resources"]
:plugins [[speclj "3.4.3"]]
:dependencies [[speclj]
[speclj-junit]]}

:test-legacy {:env {:config "server/config/test-legacy.edn"
:configdefaults "server/config/test.edn"
:environment "test"}
:test-paths ["server/spec"]
:resource-paths ["server/test-resources"]}}
:resource-paths ["server/test-resources"]
:plugins [[speclj "3.4.3"]]
:dependencies [[speclj]
[speclj-junit]]}}

:aot [oph.va.jdbc.enums oph.va.hakija.db.migrations oph.va.virkailija.db.migrations clj-time.core]

Expand Down

0 comments on commit ce3192a

Please sign in to comment.