Threshold parameter not working

Description

codecov still failing for a PR with coverage decreasing by 0.05% despite threshold set to 1%

Commit SHAs

Repository

CI/CD or Build URL

Uploader

bash

Codecov Output

Expected Results

Codecov/project should result in a success

Actual Results

Codecov/project fails

Additional Information

I’ve looked all the other topcis in the forum and it I can’t find an issue in my codecov yaml file.

My bad: I had a typo in my .codecov.yml. I had an extra yes:

  status:
    project: yes
      default:
        threshold: 1%

Once I remove the extra yes it works as expected:

  status:
    project: 
      default:
        threshold: 1%

The thread can be closed

1 Like