X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=.woodpecker%2F.test.yml;h=6724d363ddc1e42248a9cc1bef415a317380efb4;hb=7aebff799b57d27d97f7830fd7c3ef27875c33fe;hp=e9d7f88b1164007ef88ad7524113862f1d36ec57;hpb=ff8922f2922bc490d0b9fe236fbda1e0c2ad1dfc;p=akkoma diff --git a/.woodpecker/.test.yml b/.woodpecker/.test.yml index e9d7f88b1..6724d363d 100644 --- a/.woodpecker/.test.yml +++ b/.woodpecker/.test.yml @@ -3,34 +3,30 @@ depends_on: matrix: ELIXIR_VERSION: - - 1.10 - 1.13 pipeline: build: image: pleromaforkci/ci-base:${ELIXIR_VERSION} + when: + event: + - push + - pull_request environment: MIX_ENV: test commands: - - cp config/test.ci.exs config/test.secret.exs - mix local.hex --force - mix local.rebar --force - mix deps.get - mix compile - analyse: - group: test - image: pleromaforkci/ci-base:${ELIXIR_VERSION} - environment: - MIX_ENV: test - commands: - - mix local.hex --force - - mix local.rebar --force - - mix credo --strict --only=warnings,todo,fixme,consistency,readability - test: group: test image: pleromaforkci/ci-base:${ELIXIR_VERSION} + when: + event: + - push + - pull_request environment: MIX_ENV: test POSTGRES_DB: pleroma_test