Add basic CI setup #30

Merged
moritz merged 8 commits from ash-setup into main 2025-04-28 14:24:31 +02:00
Showing only changes of commit 92311ee7ae - Show all commits

View file

@ -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