Add basic CI setup #23

Merged
rafael merged 8 commits from ci-setup into ash-setup 2025-04-24 16:20:37 +02:00
Showing only changes of commit f8e6eb424e - Show all commits

View file

@ -46,16 +46,16 @@ 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 # - wait_for_postgres
environment: # environment:
MIX_ENV: test # MIX_ENV: test
TEST_POSTGRES_HOST: postgres # TEST_POSTGRES_HOST: postgres
commands: # commands:
# Install hex package manager # # Install hex package manager
- mix local.hex --force # - mix local.hex --force
# Fetch dependencies # # Fetch dependencies
- mix deps.get # - mix deps.get
# Run tests # # Run tests
- mix test # - mix test