From e780de019c790108e0cae5a4470982139635f67b Mon Sep 17 00:00:00 2001 From: Jeremy Woertink Date: Sun, 20 Oct 2024 11:07:24 -0700 Subject: [PATCH] I don't think this is actually using a DB for anything... --- .github/workflows/ci.yml | 5 ----- spec/spec_helper.cr | 8 ++++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28b6504..56a8a84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,6 @@ jobs: with: username: lucky password: developer - database: authentic_test port: 5432 postgres-version: ${{ matrix.postgres_version }} - uses: crystal-lang/install-crystal@v1 @@ -53,10 +52,6 @@ jobs: crystal: ${{matrix.crystal_version}} - name: Install shards run: shards install --skip-postinstall --skip-executables - - name: Setup Database - run: crystal tasks.cr db.setup - env: - DATABASE_URL: postgres://lucky:developer@localhost:5432/authentic_test - name: Run tests run: crystal spec env: diff --git a/spec/spec_helper.cr b/spec/spec_helper.cr index 4b612d1..ca74826 100644 --- a/spec/spec_helper.cr +++ b/spec/spec_helper.cr @@ -3,8 +3,8 @@ require "../src/authentic" require "../config" require "./support/**" -Db::Setup.new(quiet: true).run_task +# Db::Setup.new(quiet: true).run_task -Spec.before_each do - AppDatabase.truncate -end +# Spec.before_each do +# AppDatabase.truncate +# end