Circle CI 机器人框架失败
Circle CI fails for robot framework
嗨,我想弄清楚为什么 circle CI 无法获取我的机器人框架 运行ning。
我使用命令。
robot -d results -v inputEmail:circleci@xx.co tests/flow/investor_flow.robot
运行 我本地机器上的代码。
我已将整个 repo 添加到 git hub 并添加了一个 circle.yml 文件,如下所示。
test:
override:
- robot -d results -v inputEmail:circleci@aurorax.co tests/flow/investor_flow.robot
general:
artifacts:
- "robot_results"
这是 requirement.txt 文件
robotframework
robotframework-selenium2library
robotframework-requests
最后是我文件夹结构的图片。
这里是 circle ci
产生的错误
robot -d results -v inputEmail:circleci@aurorax.co tests/flow/investor_flow.robot
[ ERROR ] Parsing 'tests/flow/investor_flow.robot' failed: Data source does not exist.
Try --help for usage information.
robot -d results -v inputEmail:circleci@aurorax.co tests/flow/investor_flow.robot returned exit code 252
这很奇怪,因为在我的本地机器上可以使用相同的代码。
将路径更改为大写字母。
Tests/Flow/investor_flow.robot
嗨,我想弄清楚为什么 circle CI 无法获取我的机器人框架 运行ning。
我使用命令。
robot -d results -v inputEmail:circleci@xx.co tests/flow/investor_flow.robot
运行 我本地机器上的代码。
我已将整个 repo 添加到 git hub 并添加了一个 circle.yml 文件,如下所示。
test:
override:
- robot -d results -v inputEmail:circleci@aurorax.co tests/flow/investor_flow.robot
general:
artifacts:
- "robot_results"
这是 requirement.txt 文件
robotframework
robotframework-selenium2library
robotframework-requests
最后是我文件夹结构的图片。
这里是 circle ci
产生的错误robot -d results -v inputEmail:circleci@aurorax.co tests/flow/investor_flow.robot
[ ERROR ] Parsing 'tests/flow/investor_flow.robot' failed: Data source does not exist.
Try --help for usage information.
robot -d results -v inputEmail:circleci@aurorax.co tests/flow/investor_flow.robot returned exit code 252
这很奇怪,因为在我的本地机器上可以使用相同的代码。
将路径更改为大写字母。
Tests/Flow/investor_flow.robot