gitlab - 命令不结束
问题描述
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
解决方案
推荐阅读
- java - Jira REST API Java - 缺少工件
- mysql - 将原始数据库查询转换为 Laravel 查询构建器
- snowflake-cloud-data-platform - Snowflake- 内连接模式匹配
- django - 跳过为只读、外部管理、高安全性、大型数据库创建 Django 测试数据库
- javascript - ajax 请求后 Jquery/JS 无法找到 chrome 扩展 popup.html 元素?
- ruby-on-rails - 如何在 ActiveAdmin 中使用 ActiveStorage `has_many_attached` 编辑多个附加图像
- typescript - 在 vscode 扩展中更新 editor.selections
- reactjs - React JSX 中的多个 if else
- android - kotlin 不确定如何处理插入方法的返回类型
- c# - 当项目名称与命名空间不同时,@localizer mvc 找不到资源