fix(ci): use service hostnames for postgres and redis
Some checks failed
CI / lint (push) Successful in 7s
CI / test (push) Failing after 9s
CI / build-container (push) Has been skipped

This commit is contained in:
Paperclip CTO
2026-05-18 14:55:27 +02:00
parent 1e74090e17
commit 8b2ac6b52b

View File

@@ -10,8 +10,8 @@ env:
DJANGO_SECRET_KEY: ci-secret-key-not-for-production
DJANGO_SETTINGS_MODULE: config.settings.test
DJANGO_ALLOWED_HOSTS: testserver,localhost
DATABASE_URL: postgres://training:training@localhost:5432/training_test
REDIS_URL: redis://localhost:6379/0
DATABASE_URL: postgres://training:training@postgres:5432/training_test
REDIS_URL: redis://redis:6379/0
jobs:
test: