Skip to content

Commit

Permalink
I don't think this is actually using a DB for anything...
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink committed Oct 20, 2024
1 parent 63d9d72 commit e780de0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,13 @@ jobs:
with:
username: lucky
password: developer
database: authentic_test
port: 5432
postgres-version: ${{ matrix.postgres_version }}
- uses: crystal-lang/install-crystal@v1
with:
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:
Expand Down
8 changes: 4 additions & 4 deletions spec/spec_helper.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e780de0

Please sign in to comment.