test on push

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 local.rebar --force
- mix format --check-formatted - mix format --check-formatted
when: when:
event: [push, tag, deployment] event:
- push

View file

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