Skip to content

Codecov is using default branch for coverage and tests reports with workflows on feature branch push event #1732

Open
@qiuxiaomu

Description

I have 2 separate workflow files, one for build and the other one is for tests; once the build on commit parent finished successfully the test workflow will be triggered on the commit parent ( in this case it is a feature branch push).

Checking the checkout step I can confirm github runner pulled the correct feature branch. In the Codecov step though, with verbose turned on I can see the branch was develop.

What is the configuration that I need to let Codecov pick up the commit parent (feature branch) here?

Metadata

Labels

LowLow Priority Issues (to be fixed or re-evaluated in 12 monthssupport

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions