fix test stage
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed

This commit is contained in:
Moritz 2025-04-23 21:19:08 +02:00
parent f8e6eb424e
commit 8f3d7128a8
Signed by: moritz
GPG key ID: 1020A035E5DD0824

View file

@ -46,16 +46,17 @@ steps:
echo "Postgres did not become available, aborting."
exit 1
# - name: test
# image: docker.io/library/elixir:1.18.3-otp-27
# - wait_for_postgres
# environment:
# MIX_ENV: test
# TEST_POSTGRES_HOST: postgres
# commands:
# # Install hex package manager
# - mix local.hex --force
# # Fetch dependencies
# - mix deps.get
# # Run tests
# - mix test
- name: test
image: docker.io/library/elixir:1.18.3-otp-27
depends_on:
- wait_for_postgres
environment:
MIX_ENV: test
TEST_POSTGRES_HOST: postgres
commands:
# Install hex package manager
- mix local.hex --force
# Fetch dependencies
- mix deps.get
# Run tests
- mix test