fix test stage
This commit is contained in:
parent
46bcb9a188
commit
92311ee7ae
1 changed files with 14 additions and 13 deletions
27
.drone.yml
27
.drone.yml
|
|
@ -46,16 +46,17 @@ steps:
|
||||||
echo "Postgres did not become available, aborting."
|
echo "Postgres did not become available, aborting."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
# - name: test
|
- name: test
|
||||||
# image: docker.io/library/elixir:1.18.3-otp-27
|
image: docker.io/library/elixir:1.18.3-otp-27
|
||||||
# - wait_for_postgres
|
depends_on:
|
||||||
# environment:
|
- wait_for_postgres
|
||||||
# MIX_ENV: test
|
environment:
|
||||||
# TEST_POSTGRES_HOST: postgres
|
MIX_ENV: test
|
||||||
# commands:
|
TEST_POSTGRES_HOST: postgres
|
||||||
# # Install hex package manager
|
commands:
|
||||||
# - mix local.hex --force
|
# Install hex package manager
|
||||||
# # Fetch dependencies
|
- mix local.hex --force
|
||||||
# - mix deps.get
|
# Fetch dependencies
|
||||||
# # Run tests
|
- mix deps.get
|
||||||
# - mix test
|
# Run tests
|
||||||
|
- mix test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue