image: python:3.11 stages: - prepare - test prepare: stage: prepare script: - python -V - pip install -r requirements.txt test: stage: test script: - python manage.py migrate --noinput - python manage.py runserver 0.0.0.0:8000 & - sleep 5 - curl --fail http://localhost:8000/