首页 > 解决方案 > 命令不结束

问题描述

Gitlab runner 不提供任何输出或错误。运行此命令时,它只会永远停留在加载屏幕上

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

标签: gitlabgitlab-cigitlab-ci-runner

解决方案


推荐阅读