Compare commits

..

1 commit

Author SHA1 Message Date
0a16263a96
Set up basic CI
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2025-04-21 14:52:56 +02:00

View file

@ -10,7 +10,7 @@ services:
POSTGRES_PASSWORD: postgres
steps:
- name: check
- name: lint and test
image: docker.io/library/elixir:1.18.3-otp-27
commands:
# Install hex package manager
@ -30,7 +30,7 @@ steps:
# Provide hints for improving code quality
- mix credo
- name: wait for postgres
- name: postgres ready
image: docker.io/library/postgres:17.2
commands:
# Wait for postgres to become available
@ -52,11 +52,7 @@ steps:
MIX_ENV: test
TEST_POSTGRES_HOST: postgres
depends_on:
- wait for postgres
- postgres ready
commands:
# Install hex package manager
- mix local.hex --force
# Fetch dependencies
- mix deps.get
# Run tests
- mix test