Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: skip Gemini tests in local runs#2181

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
DouweM merged 1 commit intopydantic:mainfromstevenh:chore/gemini-test-skip
Jul 10, 2025

Conversation

stevenh
Copy link
Contributor

Skip Gemini example tests in local runs to prevent it failing when the user has gcloud configured but not with the ability to run the Gemini APIs as that prevents coverage profiles from being run when developing new features or fixing bugs.

Switch test skip from a print to pytest.skip so that its clear that the test didn't actually run.

Fixes:#2167

@hyperlint-aiHyperlint AI
Copy link
Contributor

PR Change Summary

Updated testing procedures to improve local development experience by skipping certain tests and clarifying test execution status.

  • Skipped Gemini example tests in local runs to enhance development workflow.
  • Changed test skipping method from print to pytest.skip for better clarity.
  • Modified documentation to indicate tests are for CI only.

Modified Files

  • docs/graph.md
  • docs/models/google.md

How can I customize these reviews?

Check out theHyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add thehyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to addhyperlint-ignore to the PR to ignore the link check for this PR.

Skip Gemini example tests in local runs to prevent it failing when theuser has gcloud configured but not with the ability to run the GeminiAPIs as that prevents coverage profiles from being run when developingnew features or fixing bugs.Switch test skip from a print to pytest.skip so that its clear that thetest didn't actually run.Fixes:pydantic#2167
@stevenhstevenhforce-pushed thechore/gemini-test-skip branch fromee3a9ee to3638656CompareJuly 10, 2025 20:03
@DouweMDouweM self-assigned thisJul 10, 2025
@DouweMDouweM merged commit9b1a89b intopydantic:mainJul 10, 2025
19 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@DouweMDouweM

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

gemini examples fail if gcloud is configured
2 participants
@stevenh@DouweM

[8]ページ先頭

©2009-2025 Movatter.jp