merge build and test steps
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed

This commit is contained in:
FloatingGhost 2022-07-27 19:48:00 +01:00
parent 40f6ea51ae
commit 7c3e3b50fd

View file

@ -50,17 +50,6 @@ pipeline:
- mix local.rebar --force - mix local.rebar --force
- mix format --check-formatted - mix format --check-formatted
build:
image: akkoma/ci-base:latest
<<: *on-pr-open
environment:
MIX_ENV: test
commands:
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- mix compile
test: test:
image: akkoma/ci-base:latest image: akkoma/ci-base:latest
<<: *on-pr-open <<: *on-pr-open
@ -74,6 +63,7 @@ pipeline:
- mix local.hex --force - mix local.hex --force
- mix local.rebar --force - mix local.rebar --force
- mix deps.get - mix deps.get
- mix compile
- mix ecto.drop -f -q - mix ecto.drop -f -q
- mix ecto.create - mix ecto.create
- mix ecto.migrate - mix ecto.migrate