Skip to content

💚 Fix CI test suite for Windows and MacOS #1307

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

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

📝 Docs preview for commit 2e173ea at: https://ea0aaa35.sqlmodel.pages.dev

Copy link

📝 Docs preview for commit a7adbb5 at: https://8c41cdf6.sqlmodel.pages.dev

@@ -81,6 +81,7 @@ source = [
]
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 🎉

Copy link

📝 Docs preview for commit e630ce1 at: https://2bba493b.sqlmodel.pages.dev

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

1 participant