Skip to content

Conversation

svlandeg
Copy link
Member

@svlandeg svlandeg commented Feb 21, 2025

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 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

This comment was marked as outdated.

This comment was marked as outdated.

]
context = '${CONTEXT}'
dynamic_context = "test_function"
relative_files = true
Copy link
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 🎉

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

This comment was marked as outdated.

This comment was marked as outdated.

Copy link
Contributor

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

Copy link
Member

@tiangolo tiangolo left a comment

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants