-
-
Notifications
You must be signed in to change notification settings - Fork 721
💚 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
base: main
Are you sure you want to change the base?
Conversation
📝 Docs preview for commit 2e173ea at: https://ea0aaa35.sqlmodel.pages.dev |
📝 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 |
There was a problem hiding this comment.
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 🎉
📝 Docs preview for commit e630ce1 at: https://2bba493b.sqlmodel.pages.dev |
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.