From 1a010893581e025d52acca266b0e74d657fb77e5 Mon Sep 17 00:00:00 2001 From: Tim Cowlishaw Date: Tue, 23 Apr 2024 17:33:13 +0200 Subject: [PATCH] actually create the db --- .github/workflows/ruby.yml | 2 +- ci.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 ci.sh diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index d0efccf..31a68c5 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -17,7 +17,7 @@ jobs: compose-file: "./compose.yml" down-flags: "--volumes" test-container: app - test-command: "rake db:test:create && rake test && rake test:system" + test-command: "ci.sh" - name: Deploy to staging Heroku env: HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} diff --git a/ci.sh b/ci.sh new file mode 100755 index 0000000..7b16396 --- /dev/null +++ b/ci.sh @@ -0,0 +1,2 @@ +#/bin/sh +rake db:create && rake test && rake test:system