just test 1.13
[akkoma] / .woodpecker / .test.yml
1 depends_on:
2 - lint
3
4 matrix:
5 ELIXIR_VERSION:
6 - 1.13
7
8 pipeline:
9 build:
10 image: pleromaforkci/ci-base:${ELIXIR_VERSION}
11 environment:
12 MIX_ENV: test
13 commands:
14 - mix local.hex --force
15 - mix local.rebar --force
16 - mix deps.get
17 - mix compile
18
19 test:
20 group: test
21 image: pleromaforkci/ci-base:${ELIXIR_VERSION}
22 environment:
23 MIX_ENV: test
24 POSTGRES_DB: pleroma_test
25 POSTGRES_USER: postgres
26 POSTGRES_PASSWORD: postgres
27 DB_HOST: postgres
28 commands:
29 - mix local.hex --force
30 - mix local.rebar --force
31 - mix ecto.drop -f -q
32 - mix ecto.create
33 - mix ecto.migrate
34 - mix test --preload-modules --exclude erratic --exclude federated --max-cases 4
35
36 services:
37 postgres:
38 image: postgres:13
39 environment:
40 POSTGRES_DB: pleroma_test
41 POSTGRES_USER: postgres
42 POSTGRES_PASSWORD: postgres