summaryrefslogtreecommitdiff
path: root/script/cibuild
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-13 12:07:11 -0600
committermo khan <mo@mokhan.ca>2025-03-13 12:07:11 -0600
commitb55a6617971fa50bb064480f78343e6c0bc59dbe (patch)
tree7439751c4d99826094d137e63561707c0cf389ca /script/cibuild
parent857af592cfa293b1cd6821c26a91e5a9be5bc19c (diff)
chore: run the end to end tests by default
Diffstat (limited to 'script/cibuild')
-rwxr-xr-xscript/cibuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/script/cibuild b/script/cibuild
new file mode 100755
index 00000000..b3da3e15
--- /dev/null
+++ b/script/cibuild
@@ -0,0 +1,15 @@
+#!/usr/bin/env ruby
+
+fork do
+ exec "mage servers"
+end
+
+# Let the servers boot up
+sleep 1
+
+test_pid = fork do
+ exec "mage test"
+end
+
+Process.wait(test_pid)
+Process.kill('TERM', 0)