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

Appearance settings

馃挌 Fix CI test suite for Windows and MacOS - #1307

#1307
Merged
tiangolo merged 19 commits into
fastapi:mainfastapi/sqlmodel:mainfrom
svlandeg:feat/ci_againsvlandeg/sqlmodel:feat/ci_againCopy head branch name to clipboard
Sep 17, 2025
Merged

馃挌 Fix CI test suite for Windows and MacOS#1307
tiangolo merged 19 commits into
fastapi:mainfastapi/sqlmodel:mainfrom
svlandeg:feat/ci_againsvlandeg/sqlmodel:feat/ci_againCopy head branch name to clipboard

Conversation

@svlandeg

@svlandeg svlandeg commented Feb 21, 2025

Copy link
Copy Markdown
Member

Run the test suite not only on Ubuntu, but also on Windows and MacOS.

To avoid getting an exponential number of tests, limiting the testing of older Python versions to just a few different combinations. All in all, now the test suite should have 12 combinations to test (3x1x2 + 6), which is the same as before (6x2x1). So it shouldn't be slower, but it should cover more diverse cases.

@svlandeg svlandeg added the internal Internal changes label Feb 21, 2025
@svlandeg svlandeg changed the title 馃挌 Fix CI test suite 馃挌 Fix CI test suite for Windows and MacOS Feb 24, 2025
@svlandeg svlandeg self-assigned this Feb 24, 2025
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

Comment thread pyproject.toml
]
context = '${CONTEXT}'
dynamic_context = "test_function"
relative_files = true

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The coverage test kept on giving this error for either MacOS or Windows:

No source for code: '/Users/runner/work/sqlmodel/sqlmodel/docs_src/__init__.py'.

This is fixed by using the relative_files setting 馃帀

@github-actions

This comment was marked as outdated.

@svlandeg svlandeg mentioned this pull request Apr 28, 2025
@svlandeg
svlandeg marked this pull request as ready for review April 28, 2025 10:39
@svlandeg svlandeg removed their assignment Apr 28, 2025
@github-actions

This comment was marked as outdated.

Comment thread tests/test_select_gen.py Outdated
@github-actions

This comment was marked as outdated.

@github-actions

Copy link
Copy Markdown
Contributor

馃摑 Docs preview for commit efebba6 at: https://0a7e396a.sqlmodel.pages.dev

@tiangolo tiangolo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Niceee! Thank you! 馃檶 馃殌

@tiangolo
tiangolo merged commit 35c0005 into fastapi:main Sep 17, 2025
27 checks passed
@svlandeg
svlandeg deleted the feat/ci_again branch September 18, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Internal changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.