This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-09
Channels
- # announcements (6)
- # babashka (17)
- # beginners (70)
- # calva (6)
- # chlorine-clover (88)
- # cider (9)
- # cljs-dev (9)
- # clojure (66)
- # clojure-australia (3)
- # clojure-czech (5)
- # clojure-europe (73)
- # clojure-nl (5)
- # clojure-spec (62)
- # clojure-uk (38)
- # clojurescript (30)
- # cursive (10)
- # datomic (16)
- # events (1)
- # figwheel-main (1)
- # fulcro (6)
- # graphql (21)
- # helix (4)
- # jackdaw (1)
- # jobs-rus (1)
- # kaocha (3)
- # luminus (11)
- # malli (28)
- # pedestal (3)
- # re-frame (2)
- # reagent (3)
- # sci (2)
- # shadow-cljs (21)
- # spacemacs (2)
- # sql (25)
- # timbre (2)
- # tools-deps (9)
- # tree-sitter (1)
- # xtdb (21)
So I’m using GitLab, and working on CI/CD. Remind me again why test-config.edn
should not be in version control? The test container is failing because there’s no test config file found.
I got CI/CD running, but it fails with this message during a lein test
run:
Syntax error compiling at (/tmp/form-init5582582439791414361.clj:1:73).
688could not find a non empty configuration file to load. looked in the classpath (as a "resource") and on a file system via "conf" system property
I added the test-config.edn file to the repo… so why would this error be generated?
Has anyone figured out the trick to getting the GitLab CI/CD container to find the correct config files for running tests?
Let me be more specific:
1. lein new luminus foo
2. cd foo
3. lein with-profile test uberjar
4. java -jar target/uberjar/foo.jar
You’ll see the error I ran across