kind: pipeline type: docker name: default clone: depth: 1 submodules: true # Ensure git submodules are cloned steps: - name: install dependencies and check Django project image: python:3.10 environment: DATABASE_URL: from_secret: DATABASE_URL SECRET_KEY: from_secret: SECRET_KEY DEBUG: "False" commands: - python -m pip install --upgrade pip - pip install -r requirements.txt - python manage.py check || true # Avoid crashing if env not ready - echo "✅ Django check completed"