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

github/workflows: remove coverage workflow #19424

Merged
merged 2 commits into from
Mar 21, 2025

Conversation

ivanvc
Copy link
Member

@ivanvc ivanvc commented Feb 15, 2025

This workflow has already been migrated to the Prow infrastructure.

To have the Codecov bot publish the coverage report from the given pull request, it must be invoked using some additional arguments.

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

This workflow has already been migrated to the Prow infrastructure.

Signed-off-by: Ivan Valdes <[email protected]>
@k8s-ci-robot
Copy link

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress github_actions Pull requests that update GitHub Actions code approved labels Feb 15, 2025
@ivanvc
Copy link
Member Author

ivanvc commented Feb 15, 2025

/test all

@ivanvc
Copy link
Member Author

ivanvc commented Feb 15, 2025

/test pull-etcd-coverage-report

1 similar comment
@ivanvc
Copy link
Member Author

ivanvc commented Feb 15, 2025

/test pull-etcd-coverage-report

Copy link

codecov bot commented Feb 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.50%. Comparing base (14cf669) to head (4ce48ce).
Report is 165 commits behind head on main.

Additional details and impacted files

see 56 files with indirect coverage changes

@@            Coverage Diff             @@
##             main   #19424      +/-   ##
==========================================
+ Coverage   68.95%   69.50%   +0.54%     
==========================================
  Files         420      406      -14     
  Lines       35753    35432     -321     
==========================================
- Hits        24655    24628      -27     
+ Misses       9677     9388     -289     
+ Partials     1421     1416       -5     

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 14cf669...4ce48ce. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ivanvc ivanvc force-pushed the remove-codecov-github-workflow branch from 1651346 to 5bb5f28 Compare February 16, 2025 04:04
@ivanvc ivanvc changed the title [WIP] github/workflows: remove coverage workflow github/workflows: remove coverage workflow Feb 18, 2025
@ivanvc ivanvc force-pushed the remove-codecov-github-workflow branch from 5bb5f28 to 7d87198 Compare February 20, 2025 07:57
@ivanvc ivanvc force-pushed the remove-codecov-github-workflow branch from 7d87198 to 4ce48ce Compare March 1, 2025 01:19
@ivanvc ivanvc marked this pull request as ready for review March 1, 2025 01:21
@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahrtr, ivanvc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ahrtr
Copy link
Member

ahrtr commented Mar 1, 2025

/retest

@ivanvc
Copy link
Member Author

ivanvc commented Mar 20, 2025

@ahrtr, could we get this merged? Or do we want/need a second reviewer?

Comment on lines +11 to +18
bash ./bin/codecov.sh -f "${COVERDIR}/all.coverprofile" \
-cF all \
-C "${PULL_PULL_SHA}" \
-r "${REPO_OWNER}/${REPO_NAME}" \
-P "${PULL_NUMBER}" \
-b "${BUILD_ID}" \
-B "${PULL_BASE_REF}" \
-N "${PULL_BASE_SHA}"
Copy link
Member

Choose a reason for hiding this comment

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

This seems to be an unrelated enhancement. It would be better to do it separately. But I won't insist on it.

Copy link
Member Author

Choose a reason for hiding this comment

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

It's not unrelated because we will publish the reports from the Prow job; we need to specify these variables/arguments. In the GitHub actions environment, CodeCov would assume these values.

@ahrtr ahrtr merged commit dc45df0 into etcd-io:main Mar 21, 2025
38 checks passed
@ivanvc ivanvc deleted the remove-codecov-github-workflow branch March 21, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved github_actions Pull requests that update GitHub Actions code size/M
Development

Successfully merging this pull request may close these issues.

3 participants