Skip to content

Commit 24f9643

Browse files
committed
chore: set postgres url
1 parent 10c41de commit 24f9643

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test-projects.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
path: ${{matrix.project.name}}/_build
8585
key: ${{matrix.project.name}}-otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-build-3-${{ hashFiles('config/**/*.exs') }}-${{ hashFiles(format('{0}{1}', github.workspace, '/ash/mix.lock')) }}
8686
restore-keys: ${{matrix.project.name}}-otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-build-3-${{ hashFiles('config/**/*.exs') }}-
87-
- run: mix deps.get
87+
- run: mix deps.get --only test
8888
working-directory: ./${{matrix.project.name}}
8989
- run: mix archive.install hex igniter_new --force
9090
- run: mix archive.install hex phx_new --force
@@ -95,3 +95,6 @@ jobs:
9595
- run: ${{matrix.project.test-cmd}}
9696
if: ${{matrix.project.test-cmd}}
9797
working-directory: ./${{matrix.project.name}}
98+
env:
99+
DATABASE_URL: postgresql://postgres:postgres@localhost:${{job.services.postgres.ports[5432]}}/postgres
100+

0 commit comments

Comments
 (0)