命令不结束

时间:2019-03-31 06:06:23

标签: gitlab gitlab-ci gitlab-ci-runner

Gitlab运行程序未给出任何输出或错误。运行此命令后,它将永远停留在加载屏幕上

python manage.py test

Loadin...

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

0 个答案:

没有答案