diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 06805dd7..c47e14d2 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -53,3 +53,9 @@ jobs: TRUSTSTORE: truststore.jks TRUSTSTORE_PASSWORD: ${{ secrets.TRUSTSTORE_PASSWORD }} run: lein test :e2e + + - name: Upload log file + uses: actions/upload-artifact@v3 + with: + name: test.log + path: logs/test.log diff --git a/project.clj b/project.clj index 73ddf866..667ae20f 100644 --- a/project.clj +++ b/project.clj @@ -78,6 +78,8 @@ ;; i.e. cider-nrepl and refactor-nrepl generally have ;; conflicting transitive dependencies. :test {:pedantic? :abort + :jvm-opts ["-Dlogback.statusListenerClass=ch.qos.logback.core.status.OnConsoleStatusListener" + "-Dlogback.configurationFile=./test/resources/logback.xml"] :dependencies [[pjstadig/humane-test-output "RELEASE"]] :injections [(require 'pjstadig.humane-test-output) (pjstadig.humane-test-output/activate!)]} diff --git a/resources/logback.xml b/resources/logback.xml index b758e8ab..4492edbd 100644 --- a/resources/logback.xml +++ b/resources/logback.xml @@ -1,6 +1,6 @@ + + logs/test.log + + + + yyyy-MM-dd'T'HH:mm:ss.SSS'Z' + UTC + true + + false + + + + + + + + + + + + + + + + + +