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 test matrix and include testing on Windows and MacOS #1290

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

Closed
wants to merge 8 commits into from

Conversation

svlandeg
Copy link
Member

@svlandeg svlandeg commented Feb 7, 2025

The test suite was failing because Python 3.7 can't run on ubuntu-latest anymore. Instead, ubuntu-22.04 does still support Python 3.7.

Also rewrote the test suite to include testing for 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 marked this pull request as draft February 7, 2025 10:16
@svlandeg svlandeg self-assigned this Feb 7, 2025
@svlandeg
Copy link
Member Author

svlandeg commented Feb 7, 2025

Ok all tests are now succeeding except for the coverage report run, which errors with

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

Looking into this. Maybe a path incompatibility across OS's or something such 🤔

Copy link

📝 Docs preview for commit 881a242 at: https://057d0a41.sqlmodel.pages.dev

@svlandeg svlandeg closed this Feb 17, 2025
@svlandeg svlandeg reopened this Feb 17, 2025
@svlandeg svlandeg mentioned this pull request Feb 20, 2025
@svlandeg
Copy link
Member Author

Closing in favour of #1301

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.