Compare commits

..

1 commit

Author SHA1 Message Date
db3e79b1ec
Set up basic CI
Some checks failed
continuous-integration/drone/pr Build is pending
continuous-integration/drone/push Build is failing
2025-04-21 15:18:54 +02:00

View file

@ -10,26 +10,8 @@ services:
POSTGRES_PASSWORD: postgres
steps:
- name: restore_cache
# the `plugins` user seems to be owned by the drone organization
image: docker.io/plugins/cache:1.9
pull: true
settings:
backend: "filesystem"
restore: true
cache_key: "volume"
archive_format: "gzip"
# filesystem_cache_root: "/tmp/cache"
mount:
- "_build"
volumes:
- name: cache
path: /tmp/cache
- name: check
image: docker.io/library/elixir:1.18.3-otp-27
depends_on:
- restore_cache
commands:
# Install hex package manager
- mix local.hex --force
@ -66,9 +48,7 @@ steps:
- name: test
image: docker.io/library/elixir:1.18.3-otp-27
depends_on:
- restore_cache
# - wait_for_postgres
- wait_for_postgres
environment:
MIX_ENV: test
TEST_POSTGRES_HOST: postgres