Add CI step for saas tests

This commit is contained in:
Jorge Manrubia
2025-11-23 07:39:19 +01:00
committed by Jorge Manrubia
parent c1334f7ffe
commit 277a45fa88
+5 -1
View File
@@ -1,5 +1,7 @@
# Run using bin/ci
require_relative "../lib/fizzy"
CI.run do
step "Setup", "bin/setup --skip-server"
@@ -10,7 +12,9 @@ CI.run do
step "Security: Brakeman audit", "bin/brakeman --quiet --no-pager --exit-on-warn --exit-on-error"
step "Security: Gitleaks audit", "bin/gitleaks-audit"
step "Tests: Rails", "bin/rails test"
step "Tests: Fizzy", "bin/rails test"
step "Tests: SaaS", "SAAS=1 bin/rails test:saas" if Fizzy.saas?
step "Tests: System", "bin/rails test:system"
if success?