Description
I’m setting up CodeCov for our project in Gitlab. I created a codecov.yml
file to set up the Team Bot account as below
codecov:
bot: luongvo
I pushed this config to develop but I can not see it on CodeCov app’s Settings > Yaml page, the Current Bot name is still None
. Also, the uploaded result by commit shows CI Failed
error and there are no Comments in Gitlab PR.
CI/CD URL
Codecov Output
+------------------------------------------------------------------------------+
| (5) CodeCov |
+------------------------------------------------------------------------------+
| id: script |
| version: 1.1.6 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: bash |
| time: 2021-12-09T02:53:24Z |
+------------------------------------------------------------------------------+
| |
[2021-12-09T02:53:26.636Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.1.13
[2021-12-09T02:53:26.655Z] ['info'] => Project root located at: /Users/vagrant/git
[2021-12-09T02:53:26.660Z] ['info'] -> Token found by arguments
[2021-12-09T02:53:26.680Z] ['info'] Searching for coverage files...
[2021-12-09T02:53:26.748Z] ['info'] => Found 1 possible coverage files:
coverage/lcov.info
[2021-12-09T02:53:26.748Z] ['info'] Processing /Users/vagrant/git/coverage/lcov.info...
[2021-12-09T02:53:26.766Z] ['info'] Detected Local as the CI provider.
[2021-12-09T02:53:26.815Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.1.13&token=*******&branch=HEAD&build=&build_url=&commit=8ada291b30f47661c97ba128386dac1e07b296e2&job=&pr=&service=&slug=cloud_arv%2Fagritech%2Fservice-matching%2Fvarun-matchmaking-flutter&name=&tag=&flags=&parent=
[2021-12-09T02:53:26.964Z] ['info'] Uploading...
[2021-12-09T02:53:27.144Z] ['info'] {"status":"success","resultURL":"https://codecov.io/gitlab/cloud_arv:agritech:service-matching/varun-matchmaking-flutter/commit/8ada291b30f47661c97ba128386dac1e07b296e2"}
| |
+---+---------------------------------------------------------------+----------+
| ✓ | CodeCov | 4.21 sec |
+---+---------------------------------------------------------------+----------+
Expected Results
- The yml config should appear in CodeCov app’s Settings > Yaml page.
- The Current Bot should be
luongvo
. - The updated commit should pass the CI in green check Codecov.
- CodeCov should comment the coverage report in our Gitlab PR.
Actual Results
- The yml config does not appear in CodeCov app’s Settings > Yaml page.
- The Current Bot is
None
. - The updated commit shows
CI Failed
Codecov. - CodeCov does not comment the coverage report in our Gitlab PR.
Additional Information
- Our Gitlab repository is https://gitlab.com/cloud_arv/agritech/service-matching/varun-matchmaking-flutter, which is kind of a multi-folders project structure, not something like https://gitlab.com/luongvo/flutter-survey (CodeCov works on this one). CodeCov does not seem to realize the path of Gitlab repository correctly when I clicking on the
authored commit [8ada291](https://gitlab.com/cloud_arv:agritech:service-matching/varun-matchmaking-flutter/-/commit/8ada291b30f47661c97ba128386dac1e07b296e2)
section in this page Codecov