summaryrefslogtreecommitdiff
path: root/ci/test_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/test_all.sh')
-rwxr-xr-xci/test_all.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/ci/test_all.sh b/ci/test_all.sh
new file mode 100755
index 00000000..558f76d6
--- /dev/null
+++ b/ci/test_all.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+set -eux
+
+# Starting from scratch...
+git clean -xdf
+
+# First build & run tests using SBT
+sbt core/test scalalib/test scalajslib/test integration/test bin/test:assembly
+
+# Run tests using Mill built using SBT
+target/bin/mill --all {core,scalalib,scalajslib,integration}.test devAssembly
+
+# Second build & run tests using Mill
+out/devAssembly/dest --all {core,scalalib,scalajslib,integration}.test devAssembly \ No newline at end of file