Checks Not Displaying on PR Even After Deleting Codecov yaml


I’m uploading to Codecov using the GitHub action codecov/codecov-action. Codecov initially posted a comment on my PR, it looked good. Then I added a Codecov yaml as follows to disable PR comments.

    after_n_builds: 2147483647

And deleted it in a subsequent commit (I was mostly trying out different settings). However, comments are no longer posted in PRs, as if Codecov still is reading from the non-existent Codecov yaml.


Codecov Output

Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.

/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov -n  -Q github-action-2.1.0 -F functional -C 2b342f4edfef10748285c81fc324d6d492a8b2f1 -s build/reports/jacoco/test
[2022-04-21T05:47:51.610Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.1.22
[2022-04-21T05:47:51.620Z] ['info'] => Project root located at: /home/runner/work/build-time-tracker/build-time-tracker
[2022-04-21T05:47:51.621Z] ['info'] -> No token specified or token is empty
[2022-04-21T05:47:51.625Z] ['info'] Searching for coverage files...
[2022-04-21T05:47:51.683Z] ['info'] Warning: Some files located via search were excluded from upload.
[2022-04-21T05:47:51.683Z] ['info'] If Codecov did not locate your files, please review
[2022-04-21T05:47:51.683Z] ['info'] => Found 1 possible coverage files:
[2022-04-21T05:47:51.683Z] ['info'] Processing build/reports/jacoco/test/jacocoTestReport.xml...
[2022-04-21T05:47:51.693Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-04-21T05:47:51.695Z] ['info'] Pinging Codecov:*******&branch=asarkar-patch-1&build=2199951564&
[2022-04-21T05:47:52.365Z] ['info']
[2022-04-21T05:47:52.365Z] ['info'] Uploading...
[2022-04-21T05:47:52.578Z] ['info'] {"status":"success","resultURL":""}

Expected Results

I expected to see a comment posted in the PR.

Actual Results

I don’t see any comment posted in the PR.

Additional Information

  1. I’ve not installed the GitHub App Integration, I’ve not found any use for it yet.
  2. I found a similar issue that had been resolved.

@bruce-wayne, you should install the GitHub App integration to solve the issue.

Turns out that the files changed were not tracked by Codecov, hence the status check wasn’t showing. Apparently, Codecov only tracks files under src; as far as I can tell, this has nothing to do with GitHub app integration.

@bruce-wayne, ok, is that working for you now?

Yes, it is working now.