Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Only upload coverage when running coverage workflow, not build. #558

Conversation

smoser
Copy link
Contributor

@smoser smoser commented Nov 20, 2023

I had a pull request (#557) that changed a single line in a single integration test. c-i reported that coverage changed:
5.72% (-48.53%) compared to a34ebfa
Where a34ebfa was the previous commit.

That doesn't sound right. I think what is happening is that we have multiple uploads of the coverage workflow and they're fighting.

There isn't any reason to upload both anyway.

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I had a pull request (project-stacker#557) that changed a single line in a single
integration test.  c-i reported that coverage changed:
   5.72% (-48.53%) compared to a34ebfa
Where a34ebfa was the previous commit.

That doesn't sound right.  I think what is happening is that we have
multiple uploads of the coverage workflow and they're fighting.

There isn't any reason to upload both anyway.

Signed-off-by: Scott Moser <[email protected]>
@smoser
Copy link
Contributor Author

smoser commented Nov 20, 2023

the code coverage run showing the big change is https://app.codecov.io/gh/project-stacker/stacker/pull/557 .

@rchincha
Copy link
Contributor

Close this because #559

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants