Skip to content

Commit

Permalink
Test DB fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Teifion committed Sep 23, 2024
1 parent 6622c18 commit 93644e4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ jobs:
db:
image: postgres:15
ports: ['5432:5432']
env:
POSTGRES_DB: teiserver_test
POSTGRES_USER: teiserver_test
POSTGRES_PASSWORD: 123456789
# env:
# POSTGRES_DB: teiserver_test
# POSTGRES_USER: teiserver_test
# POSTGRES_PASSWORD: 123456789
# DATABASE_URL: postgres://teiserver_test:123456789@localhost/teiserver_test
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand Down Expand Up @@ -89,4 +90,6 @@ jobs:

# Step: Execute the tests.
- name: Run tests
env:
DATABASE_URL: postgres://teiserver_test:123456789@localhost/teiserver_test
run: mix test.ci

0 comments on commit 93644e4

Please sign in to comment.