projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documentation updates for stable release (#73)
[akkoma]
/
.woodpecker
/
.test.yml
diff --git
a/.woodpecker/.test.yml
b/.woodpecker/.test.yml
index e9d7f88b1164007ef88ad7524113862f1d36ec57..f4165502981fd05096af4419c31930b7d2d5026f 100644
(file)
--- a/
.woodpecker/.test.yml
+++ b/
.woodpecker/.test.yml
@@
-1,36
+1,37
@@
-depends_on:
-- lint
-
matrix:
ELIXIR_VERSION:
matrix:
ELIXIR_VERSION:
- - 1.10
- 1.13
pipeline:
- 1.13
pipeline:
- build:
- image: pleromaforkci/ci-base:${ELIXIR_VERSION}
- environment:
- MIX_ENV: test
+ lint:
+ when:
+ event:
+ - pull_request
+ image: pleromaforkci/ci-base:1.13
commands:
commands:
- - cp config/test.ci.exs config/test.secret.exs
- mix local.hex --force
- mix local.rebar --force
- mix local.hex --force
- mix local.rebar --force
- - mix deps.get
- - mix compile
+ - mix format --check-formatted
- analyse:
- group: test
+ build:
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
+ when:
+ event:
+ - pull_request
environment:
MIX_ENV: test
commands:
- mix local.hex --force
- mix local.rebar --force
environment:
MIX_ENV: test
commands:
- mix local.hex --force
- mix local.rebar --force
- - mix credo --strict --only=warnings,todo,fixme,consistency,readability
+ - mix deps.get
+ - mix compile
test:
group: test
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
test:
group: test
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
+ when:
+ event:
+ - pull_request
environment:
MIX_ENV: test
POSTGRES_DB: pleroma_test
environment:
MIX_ENV: test
POSTGRES_DB: pleroma_test
@@
-40,6
+41,7
@@
pipeline:
commands:
- mix local.hex --force
- mix local.rebar --force
commands:
- mix local.hex --force
- mix local.rebar --force
+ - mix deps.get
- mix ecto.drop -f -q
- mix ecto.create
- mix ecto.migrate
- mix ecto.drop -f -q
- mix ecto.create
- mix ecto.migrate
@@
-48,6
+50,9
@@
pipeline:
services:
postgres:
image: postgres:13
services:
postgres:
image: postgres:13
+ when:
+ event:
+ - pull_request
environment:
POSTGRES_DB: pleroma_test
POSTGRES_USER: postgres
environment:
POSTGRES_DB: pleroma_test
POSTGRES_USER: postgres