Skip to content

test: fix flaky goimports test#1662

Merged
codyoss merged 1 commit intogoogleapis:mainfrom
codyoss:goimport-test
Aug 8, 2025
Merged

test: fix flaky goimports test#1662
codyoss merged 1 commit intogoogleapis:mainfrom
codyoss:goimport-test

Conversation

@codyoss
Copy link
Copy Markdown
Member

@codyoss codyoss commented Aug 8, 2025

Install tools ahead of time so tests verifying output don't have extraneous module downloading output.

@codyoss codyoss requested a review from a team as a code owner August 8, 2025 00:56
@codyoss codyoss requested a review from jskeet August 8, 2025 00:56
@codyoss codyoss enabled auto-merge (squash) August 8, 2025 00:56
@codyoss codyoss disabled auto-merge August 8, 2025 00:59
chingor13
chingor13 previously approved these changes Aug 8, 2025
We don't need to verify the output of goimports. It will return a
non-zero exit code if there are diffs.
@codyoss codyoss enabled auto-merge (squash) August 8, 2025 01:04
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.28%. Comparing base (05a817b) to head (79d650e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1662      +/-   ##
==========================================
- Coverage   84.08%   80.28%   -3.81%     
==========================================
  Files          54       62       +8     
  Lines        6144     6785     +641     
==========================================
+ Hits         5166     5447     +281     
- Misses        737     1039     +302     
- Partials      241      299      +58     

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

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

@codyoss codyoss merged commit dd70986 into googleapis:main Aug 8, 2025
8 checks passed
@codyoss codyoss deleted the goimport-test branch August 8, 2025 01:06
codyoss added a commit to codyoss/librarian that referenced this pull request Aug 13, 2025
I must have forgot to revert removing this in googleapis#1662. Currently this
check is not being enforced.
codyoss added a commit that referenced this pull request Aug 14, 2025
I must have forgot to revert removing this in #1662. Currently this
check is not being enforced.

Found reviewing: #1686
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