小编ben*_*ene的帖子

为什么CircleCi找不到我的测试?

请参阅下面的回购结构.我想在root/app2/tests /中运行测试.我正在使用py.test.

在CircleCi无法自动推断测试目录之后,我将circle.yml文件添加到根目录但仍未找到测试.任何帮助非常感谢.

circle.yml文件内容:

general:
  build_dir: app2/tests
Run Code Online (Sandbox Code Playgroud)

存储库结构:

root
??? circle.yml
??? app1
?   ??? xxx
?   ??? yyy
?  
??? app2
    ??? src
    ??? tests
        |-- test_module_1.py
        |-- test_module_2.py
Run Code Online (Sandbox Code Playgroud)

testing circleci

3
推荐指数
1
解决办法
1786
查看次数

标签 统计

circleci ×1

testing ×1