diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 2dbe8cbc..ab262744 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -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 @@ -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