【发布时间】:2019-07-17 12:38:35
【问题描述】:
我正在尝试新功能 gitlab-ci。并为我的烧瓶应用程序 app.py 和测试机器人框架 test.robot 配置 gitlab-ci.yml 文件
我是新手,尝试了一些资源,但都对我不起作用。
这是我的 .gitlab-ci.yml 文件:
image: python:3.6-stretch
stages:
- robot_test
- deploy
before_script:
- pip install -r requirements.txt
test:
stage: robot_test
script:
- python -m robotframework discover tests
它应该在我的 test.robot 中运行测试
【问题讨论】:
标签: python-3.x continuous-integration robotframework gitlab-ci