fix(ci): use raw commands for test and static code analysis
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
The `slim` variant image doesn't have `make` installed.
This commit is contained in:
parent
bfd7f52cb2
commit
1704c39074
@ -45,13 +45,17 @@ steps:
|
|||||||
POSTGRES_PASS: postgres
|
POSTGRES_PASS: postgres
|
||||||
commands:
|
commands:
|
||||||
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
||||||
- make test
|
- mix compile
|
||||||
|
- mix test --cover --trace --slowest 10
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
image: 'elixir:1.15.4-slim'
|
image: 'elixir:1.15.4-slim'
|
||||||
commands:
|
commands:
|
||||||
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
- 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
|
- name: rebuild cache
|
||||||
image: 'meltwater/drone-cache:v1.4.0'
|
image: 'meltwater/drone-cache:v1.4.0'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user