gpt4 book ai didi

monorepo - Codecov 无法识别 codecov.yml 配置中的标志

转载 作者:行者123 更新时间:2023-12-02 22:02:34 35 4
gpt4 key购买 nike

最近,我从 3 个不同的存储库迁移到一个单一存储库,并按照 .codecov.yml 添加 flags 选项进行设置。然而,Codecov 似乎忽略了它并不断报告没有提供任何标志。

coverage:
status:
project: no
patch: yes
changes: no

comment:
require_changes: yes

flags:
frontend:
paths:
- frontend/
backend:
paths:
- backend/
mobile:
paths:
- mobile/

还有什么想法我应该添加什么来启用它们吗?

最佳答案

该文件必须命名为codecov.yml ,没有前导点。另请参阅Codecov documentation :

Can I name the file .codecov.yml?

No. Starting the file with a period can cause issues detecting and reading it. The file must be placed the root of your repository to be detected. If you want to place it elsewhere, you must pass -y <conf file> to the bash uploader.

关于monorepo - Codecov 无法识别 codecov.yml 配置中的标志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55730544/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com