From 22b93389af98b5e0193103c9f40c245e431f6ffa Mon Sep 17 00:00:00 2001 From: Tim Cowlishaw Date: Fri, 20 Dec 2024 20:29:41 +0100 Subject: [PATCH] remember to unset DATABASE_URL --- .github/workflows/ruby.yml | 2 +- ci.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 ci.sh 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