* Update clojure CLI flags in script/test * Throw error when not one of version or path ...with qualified symbol pod-spec * Fix some minor formatting issues * Check for new error message in pod-registry test * Add a test for resolve fn in edn data readers * Add CI config * Try using clojure tools-deps image in CI * Check for new error message in sci pod-registry test * Use latest version of buddy in pod-registry test ...for more platform support * Stop depending on babashka Instead accept an arg for the thing we were getting from it (location of the bb.edn file) * Save maven deps in cache in CI
32 lines
810 B
Bash
Executable file
32 lines
810 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -eou pipefail
|
|
|
|
export BABASHKA_POD_TEST_FORMAT
|
|
export BABASHKA_POD_TEST_SOCKET
|
|
|
|
# format = edn
|
|
BABASHKA_POD_TEST_FORMAT=edn
|
|
echo "Testing edn"
|
|
clojure -M:test -n babashka.pods.jvm-test
|
|
clojure -M:sci:test -n babashka.pods.sci-test
|
|
clojure -M:test -n babashka.pods.impl-test
|
|
|
|
# format = json
|
|
BABASHKA_POD_TEST_FORMAT=json
|
|
echo "Testing json"
|
|
clojure -M:test -n babashka.pods.jvm-test
|
|
clojure -M:sci:test -n babashka.pods.sci-test
|
|
|
|
# format = json
|
|
BABASHKA_POD_TEST_FORMAT="transit+json"
|
|
echo "Testing transit"
|
|
clojure -M:test -n babashka.pods.jvm-test
|
|
clojure -M:sci:test -n babashka.pods.sci-test
|
|
|
|
# socket = true
|
|
unset BABASHKA_POD_TEST_FORMAT
|
|
BABASHKA_POD_TEST_SOCKET=true
|
|
echo "Testing socket"
|
|
clojure -M:test -n babashka.pods.jvm-test
|
|
clojure -M:sci:test -n babashka.pods.sci-test
|