This commit is contained in:
FloatingGhost 2023-08-02 13:54:24 +01:00
parent b8ec5f21d1
commit 125c538a95

View file

@ -63,7 +63,7 @@ services:
event: event:
- pull_request - pull_request
environment: environment:
POSTGRES_DB: pleroma_test POSTGRES_DB: pleroma_test_${ELIXIR_VERSION}_${OTP_VERSION}
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
@ -77,11 +77,11 @@ pipeline:
- mix format --check-formatted - mix format --check-formatted
build: build:
image: akkoma/ci-base:${ELIXIR_VERSION}-${OTP_VERSION} image: akkoma/ci-base:${ELIXIR_VERSION}-otp${OTP_VERSION}
<<: *on-pr-open <<: *on-pr-open
environment: environment:
MIX_ENV: test MIX_ENV: test
POSTGRES_DB: pleroma_test POSTGRES_DB: pleroma_test_${ELIXIR_VERSION}_${OTP_VERSION}
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
DB_HOST: postgres DB_HOST: postgres
@ -92,11 +92,11 @@ pipeline:
- mix compile - mix compile
test: test:
image: akkoma/ci-base:${ELIXIR_VERSION}-${OTP_VERSION} image: akkoma/ci-base:${ELIXIR_VERSION}-otp${OTP_VERSION}
<<: *on-pr-open <<: *on-pr-open
environment: environment:
MIX_ENV: test MIX_ENV: test
POSTGRES_DB: pleroma_test POSTGRES_DB: pleroma_test_${ELIXIR_VERSION}_${OTP_VERSION}
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
DB_HOST: postgres DB_HOST: postgres