Replies: 1 comment 1 reply
-
Hey @flc1125, I use codecov for my open-source projects. In particular one of them has several submodules and it works fine just by using the default configs. I only use the codecov.yml to ignore a few internal directories: https://github.com/VinGarcia/ksql/blob/master/codecov.yml The trick is that codecov will automatically look for files called https://github.com/VinGarcia/ksql/blob/master/scripts/run-all-tests.sh
Finally on the CI I just run the script then the codecov upload script or action: https://github.com/VinGarcia/ksql/blob/master/.github/workflows/ci.yml#L30 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I hope to achieve the following effect with a single configuration. I have repeatedly tested many different configurations, but I have been unable to achieve the desired result.
Currently, I am using a rather cumbersome method, which involves generating through scripts and listing all the packages one by one. Please see my configuration: https://github.com/go-fries/fries/blob/6c8a0a1fe759090809bca66348450c0a6aee6ca2/codecov.yml#L22-L88
However, I don't think it is very good. Whenever I add a new package or adjust the directory structure, it needs to be changed accordingly.
Therefore, I would like to ask whether there is a better way to achieve my desired outcome.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions