Skip to content

Don't upload codecov data from autorest and release jobs#3725

Merged
mikhailshilkov merged 1 commit into
masterfrom
mikhailshilkov/reduce-codecov-report-noise
Nov 21, 2024
Merged

Don't upload codecov data from autorest and release jobs#3725
mikhailshilkov merged 1 commit into
masterfrom
mikhailshilkov/reduce-codecov-report-noise

Conversation

@mikhailshilkov

@mikhailshilkov mikhailshilkov commented Nov 21, 2024

Copy link
Copy Markdown
Contributor

We currently have a problem in historic codecov data where coverage jumps up and down between master commits. Examples

It turns out that the larger coverage number comes from two or three CI jobs (master + scheduled autorest + release) and lower number is just from master. Since we can't guarantee that we will run a release and an autorest nightly on every commit, this PR disables coverage data on those jobs.

We lose a little bit of coverage on that autorest legacy code, but I think stability is more important. Also, a PR vs. master coverage will be directly comparable.

@github-actions

Copy link
Copy Markdown
Contributor

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@danielrbradley danielrbradley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks 👍

@codecov

codecov Bot commented Nov 21, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.41%. Comparing base (6998056) to head (cdeab20).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3725   +/-   ##
=======================================
  Coverage   56.41%   56.41%           
=======================================
  Files          74       74           
  Lines       11813    11813           
=======================================
  Hits         6664     6664           
  Misses       4652     4652           
  Partials      497      497           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@pulumi-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped in release v2.74.0.

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.

3 participants