luminus 2020-11-09

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

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?