diff --git a/.drone.yml b/.drone.yml index 92131fd..a35cf96 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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