diff --git a/.drone.yml b/.drone.yml index 58b1694..8d9800e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,13 +45,17 @@ steps: POSTGRES_PASS: postgres commands: - mix do local.rebar --force, local.hex --force, deps.get, deps.compile - - make test + - mix compile + - mix test --cover --trace --slowest 10 - name: lint image: 'elixir:1.15.4-slim' commands: - mix do local.rebar --force, local.hex --force, deps.get, deps.compile - - make static_code_analysis + - mix compile + - mix format --check-formatted + - mix credo suggest --strict --format=flycheck + - mix dialyzer --no-check --quiet --ignore-exit-status --format short - name: rebuild cache image: 'meltwater/drone-cache:v1.4.0'