test on push
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/release unknown status

This commit is contained in:
FloatingGhost 2022-06-11 17:18:52 +01:00
parent b21ac6b246
commit 443942e1ea
2 changed files with 8 additions and 1 deletions

View file

@ -6,4 +6,5 @@ pipeline:
- mix local.rebar --force
- mix format --check-formatted
when:
event: [push, tag, deployment]
event:
- push

View file

@ -8,6 +8,9 @@ matrix:
pipeline:
build:
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
when:
event:
- push
environment:
MIX_ENV: test
commands:
@ -19,6 +22,9 @@ pipeline:
test:
group: test
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
when:
event:
- push
environment:
MIX_ENV: test
POSTGRES_DB: pleroma_test