Skip curl test until Alpine has working curl again

This commit is contained in:
Michiel Borkent 2024-05-27 23:01:57 +02:00
parent 7e8e51b882
commit 702fdf8108

View file

@ -14,9 +14,9 @@ RUN echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswit
# TODO: Run actual native tests when they are ported # TODO: Run actual native tests when they are ported
RUN curl --version RUN curl --version
RUN bb -e '(prn (java.io.File/createTempFile "babashka.curl" ".headers"))' # RUN bb -e '(prn (java.io.File/createTempFile "babashka.curl" ".headers"))'
RUN bb -e '(spit (java.io.File/createTempFile "babashka.curl" ".headers") "hello")' # RUN bb -e '(spit (java.io.File/createTempFile "babashka.curl" ".headers") "hello")'
RUN bb -e "(curl/get \"https://clojure.org\")" # cURL http test # RUN bb -e "(curl/get \"https://clojure.org\")" # cURL http test
RUN bb -e "(require '[org.httpkit.client :as http]) (when-let [error (:error @(http/get \"https://clojure.org\"))] (throw error))" # JVM http test RUN bb -e "(require '[org.httpkit.client :as http]) (when-let [error (:error @(http/get \"https://clojure.org\"))] (throw error))" # JVM http test
RUN bb -e "(.length \"Hello, Babashka\")" # Java interop test RUN bb -e "(.length \"Hello, Babashka\")" # Java interop test
RUN bb -e "(require '[babashka.pods :as pods]) (pods/load-pod 'org.babashka/go-sqlite3 \"0.0.1\") (require '[pod.babashka.go-sqlite3 :as sqlite]) (sqlite/execute! \"/tmp/foo.db\" [\"SELECT 1 + 1\"])" # Pod test RUN bb -e "(require '[babashka.pods :as pods]) (pods/load-pod 'org.babashka/go-sqlite3 \"0.0.1\") (require '[pod.babashka.go-sqlite3 :as sqlite]) (sqlite/execute! \"/tmp/foo.db\" [\"SELECT 1 + 1\"])" # Pod test