Gitlab运行程序未给出任何输出或错误。运行此命令后,它将永远停留在加载屏幕上
python manage.py test
image: python:3.6
services:
- postgres:10
before_script:
- apt-get update
- pip install pipenv
- pipenv install --system --deploy --ignore-pipfile
stages:
- test
test:
script:
- export DATABASE_URL=postgres://postgres:@postgres:5432/test-master-tool
- python manage.py migrate
- python manage.py test
- coverage report