From d453b584ee45af37eded7164a234f0d9d3083442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Fri, 13 Dec 2024 11:30:21 +0100 Subject: [PATCH] :tada: Add script to un CI tests in dev env --- run-ci.sh | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 run-ci.sh diff --git a/run-ci.sh b/run-ci.sh new file mode 100755 index 000000000..74f0bcef9 --- /dev/null +++ b/run-ci.sh @@ -0,0 +1,50 @@ +#!/bin/bash + +set -e + +echo "################ test common ################" +cd common +yarn install +yarn run fmt:clj:check +yarn run lint:clj +clojure -M:dev:test +yarn run test +cd .. + +echo "################ test frontend ################" +cd frontend +yarn install +yarn run fmt:clj:check +yarn run fmt:js:check +yarn run lint:scss +yarn run lint:clj +yarn run test +cd .. + +echo "################ test integration ################" +cd frontend +yarn install +yarn run test:e2e -x --workers=4 +cd .. + +echo "################ test backend ################" +cd backend +yarn install +yarn run fmt:clj:check +yarn run lint:clj +clojure -M:dev:test --reporter kaocha.report/documentation +cd .. + +echo "################ test exporter ################" +cd exporter +yarn install +yarn run fmt:clj:check +yarn run lint:clj +cd .. + +echo "################ test render-wasm ################" +cd render-wasm +cargo fmt --check +./test +cd .. +