diff --git a/.woodpecker/.lint.yml b/.woodpecker/.lint.yml deleted file mode 100644 index 0bac90d73..000000000 --- a/.woodpecker/.lint.yml +++ /dev/null @@ -1,10 +0,0 @@ -pipeline: - lint: - image: pleromaforkci/ci-base:1.13 - commands: - - mix local.hex --force - - mix local.rebar --force - - mix format --check-formatted - when: - event: - - push diff --git a/.woodpecker/.test.yml b/.woodpecker/.test.yml index 6724d363d..7434261f9 100644 --- a/.woodpecker/.test.yml +++ b/.woodpecker/.test.yml @@ -1,23 +1,23 @@ -depends_on: -- lint - matrix: ELIXIR_VERSION: - 1.13 pipeline: + lint: + image: pleromaforkci/ci-base:1.13 + commands: + - mix local.hex --force + - mix local.rebar --force + - mix format --check-formatted + build: image: pleromaforkci/ci-base:${ELIXIR_VERSION} when: event: - - push - pull_request environment: MIX_ENV: test commands: - - mix local.hex --force - - mix local.rebar --force - - mix deps.get - mix compile test: @@ -25,7 +25,6 @@ pipeline: image: pleromaforkci/ci-base:${ELIXIR_VERSION} when: event: - - push - pull_request environment: MIX_ENV: test @@ -34,8 +33,6 @@ pipeline: POSTGRES_PASSWORD: postgres DB_HOST: postgres commands: - - mix local.hex --force - - mix local.rebar --force - mix ecto.drop -f -q - mix ecto.create - mix ecto.migrate