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

Move FastAPI tests to third-party workflow#11164

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
sydney-runkle merged 1 commit intomainfromadapt-fastapi-ci
Dec 20, 2024

Conversation

Viicos
Copy link
Member

Change Summary

Part of#11160

Related issue number

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review,please add a comment including the phrase "please review" to assign reviewers

@github-actionsgithub-actionsbot added the relnotes-fixUsed for bugfixes. labelDec 20, 2024
@cloudflare-workers-and-pagesCloudflare Workers and Pages
Copy link

cloudflare-workers-and-pagesbot commentedDec 20, 2024
edited
Loading

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit:bfc2efb
Status: ✅  Deploy successful!
Preview URL:https://ccab206e.pydantic-docs.pages.dev
Branch Preview URL:https://adapt-fastapi-ci.pydantic-docs.pages.dev

View logs

@ViicosViicos mentioned this pull requestDec 20, 2024
16 tasks
Comment on lines -18 to -23
# This may be necessary if we make low-consequence changes to pydantic, such as minor changes the details of a JSON
# schema or the contents of a ValidationError
#
# To skip a specific test, add '--deselect path/to/test.py::test_name' to the end of this command
#
# To update the list of deselected tests, remove all deselections, run the tests, and re-add any remaining failures
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Note that we loose the ability to skip failing tests. But thepytest command that we run in the third-party workflow can still be adapted to deselect tests.

And more generally, it might be that we get failing third-party tests if themain branch of the projects we test is broken. If this happens too often, we can checkout a specific revision instead (but we'll have to remind ourselves to update the revision regularly).

@codspeed-hqCodSpeed HQ
Copy link

codspeed-hqbot commentedDec 20, 2024
edited
Loading

CodSpeed Performance Report

Merging#11164 willimprove performances by 5.89%

Comparingadapt-fastapi-ci (bfc2efb) withmain (7b9561f)

Summary

⚡ 2 improvements
✅ 44 untouched benchmarks

Benchmarks breakdown

Benchmarkmainadapt-fastapi-ciChange
test_efficiency_with_highly_nested_examples752.5 µs716 µs+5.1%
test_simple_model_validation[__init__]42.1 µs39.7 µs+5.89%

@ViicosViicos closed thisDec 20, 2024
@ViicosViicos reopened thisDec 20, 2024
@github-actionsGitHub Actions
Copy link
Contributor

Coverage report

This PR does not seem to contain any modification to coverable code.

Copy link
Contributor

@sydney-runklesydney-runkle left a comment

Choose a reason for hiding this comment

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

Nice!

@sydney-runklesydney-runkle merged commitf958753 intomainDec 20, 2024
56 checks passed
@sydney-runklesydney-runkle deleted the adapt-fastapi-ci branchDecember 20, 2024 23:13
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@sydney-runklesydney-runklesydney-runkle approved these changes

Assignees
No one assigned
Labels
relnotes-fixUsed for bugfixes.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Viicos@sydney-runkle

[8]ページ先頭

©2009-2025 Movatter.jp