diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index bb855ab1..c7e2d1e6 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -23,7 +23,7 @@ jobs: run: "docker compose build" - name: Run all tests - run: docker compose run app -- bundle exec bin/rake spec + run: docker compose run app -- ./ci.sh - name: Tear down the Stack run: docker compose down diff --git a/ci.sh b/ci.sh new file mode 100755 index 00000000..d3c7ad22 --- /dev/null +++ b/ci.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +unset DATABASE_URL +bundle exec bin/rake spec