codecov / codecov-bash

Global coverage report uploader for Codecov
https://codecov.io
Apache License 2.0
234 stars 155 forks source link

Associating commit hashes to branches #468

Open alandefreitas opened 2 years ago

alandefreitas commented 2 years ago

Hi,

We've been having a problem uploading coverage data for different branches. It all started when we noticed we have different coverage in our badges for the same code and opened this issue in our repo: https://github.com/CPPAlliance/url/issues/128

It turns out what was happening is the commit to master was being associated with develop because codecov had already seen that commit hash in develop. So the only commit codecov associated with master was two years ago, where this didn't happen by chance (some code that didn't go through develop first).

Is there some way around this?