diff --git a/.drone.yml b/.drone.yml index 1e0183b..b6843da 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ services: POSTGRES_PASSWORD: postgres steps: - - name: lint and test + - name: check image: docker.io/library/elixir:1.18.3-otp-27 commands: # Install hex package manager @@ -30,7 +30,7 @@ steps: # Provide hints for improving code quality - mix credo - - name: postgres ready + - name: wait for postgres image: docker.io/library/postgres:17.2 commands: # Wait for postgres to become available @@ -52,7 +52,11 @@ steps: MIX_ENV: test TEST_POSTGRES_HOST: postgres depends_on: - - postgres ready + - wait for postgres commands: + # Install hex package manager + - mix local.hex --force + # Fetch dependencies + - mix deps.get # Run tests - mix test