Add basic CI setup #30
1 changed files with 13 additions and 13 deletions
26
.drone.yml
26
.drone.yml
|
|
@ -46,16 +46,16 @@ steps:
|
|||
echo "Postgres did not become available, aborting."
|
||||
exit 1
|
||||
|
||||
- name: test
|
||||
image: docker.io/library/elixir:1.18.3-otp-27
|
||||
- wait_for_postgres
|
||||
environment:
|
||||
MIX_ENV: test
|
||||
TEST_POSTGRES_HOST: postgres
|
||||
commands:
|
||||
# Install hex package manager
|
||||
- mix local.hex --force
|
||||
# Fetch dependencies
|
||||
- mix deps.get
|
||||
# Run tests
|
||||
- mix test
|
||||
# - name: test
|
||||
# image: docker.io/library/elixir:1.18.3-otp-27
|
||||
# - wait_for_postgres
|
||||
# environment:
|
||||
# MIX_ENV: test
|
||||
# TEST_POSTGRES_HOST: postgres
|
||||
# commands:
|
||||
# # Install hex package manager
|
||||
# - mix local.hex --force
|
||||
# # Fetch dependencies
|
||||
# - mix deps.get
|
||||
# # Run tests
|
||||
# - mix test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue