Commit b55a661

mo khan <mo@mokhan.ca>
2025-03-13 18:07:11
chore: run the end to end tests by default
1 parent 857af59
Changed files (2)
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)
Makefile
@@ -4,3 +4,4 @@ default:
 	@command -v mage
 	@command -v playwright
 	@mage -l
+	@ruby ./script/cibuild