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

🌱 consolidate and save all coverage data under ./coverage #1044

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

joelanford
Copy link
Member

@joelanford joelanford commented Jul 12, 2024

Description

Move:

  • ./e2e-cover.out -> ./coverage/e2e.out
  • ./cover.out -> ./coverage/unit.out

Add Go 1.20+ gocoverdirs

  • ./coverage/e2e
  • ./coverage/unit

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
@joelanford joelanford requested a review from a team as a code owner July 12, 2024 20:32
Copy link

netlify bot commented Jul 12, 2024

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 0a21bc9
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/669192f4fa474c0008670cb6
😎 Deploy Preview https://deploy-preview-1044--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Jul 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.46%. Comparing base (60d26ed) to head (0a21bc9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1044   +/-   ##
=======================================
  Coverage   73.46%   73.46%           
=======================================
  Files          32       32           
  Lines        1986     1986           
=======================================
  Hits         1459     1459           
  Misses        368      368           
  Partials      159      159           
Flag Coverage Δ
e2e 55.84% <ø> (ø)
unit 45.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Contributor

@tmshort tmshort left a comment

Choose a reason for hiding this comment

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

/lgtm

test-unit: $(SETUP_ENVTEST) #HELP Run the unit tests
eval $$($(SETUP_ENVTEST) use -p env $(ENVTEST_VERSION) $(SETUP_ENVTEST_BIN_DIR_OVERRIDE)) && CGO_ENABLED=1 go test -count=1 -race -short $(UNIT_TEST_DIRS) -coverprofile cover.out
rm -rf $(COVERAGE_UNIT_DIR) && mkdir -p $(COVERAGE_UNIT_DIR)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: the && is not necessary in a Makefile

@joelanford joelanford added this pull request to the merge queue Jul 15, 2024
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 15, 2024
Merged via the queue into operator-framework:main with commit 6a337a6 Jul 15, 2024
18 checks passed
@joelanford joelanford deleted the consistent-coverage branch July 20, 2024 01:59
perdasilva pushed a commit to LalatenduMohanty/operator-controller that referenced this pull request Aug 13, 2024
perdasilva pushed a commit to kevinrizza/operator-controller that referenced this pull request Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants