-
-
Notifications
You must be signed in to change notification settings - Fork 771
💚 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
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
] | ||
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 🎉
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
📝 Docs preview for commit efebba6 at: https://0a7e396a.sqlmodel.pages.dev |
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.
Niceee! Thank you! 🙌 🚀
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.