-
Notifications
You must be signed in to change notification settings - Fork 437
Extend CI and local test coverage to MySQL and SQLite #744
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
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #744 +/- ##
=======================================
Coverage 95.80% 95.80%
=======================================
Files 33 33
Lines 1144 1144
=======================================
Hits 1096 1096
Misses 48 48 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
7c89136 to
0e8e90e
Compare
- Fix TRUNCATE command support detection for different databases - Add conditional PostgreSQL-specific model registration - Improve database-specific test skipping logic - Remove SQLite from TRUNCATE supported vendors list
- Add separate test workflows for SQLite, PostgreSQL, and MySQL
c6caf58 to
3725694
Compare
|
|
||
| class TruncateQuery: | ||
| SUPPORTED_VENDORS = ("postgresql", "mysql", "sqlite", "oracle", "microsoft") | ||
| SUPPORTED_VENDORS = ("postgresql", "mysql", "oracle", "microsoft") |
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.
why did you remove sqlite here?
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.
SQLite doesn’t support the TRUNCATE query (docs).
I noticed this while running the SQLite tests.
From what I found, DELETE basically works as the replacement.
- Add database type to coverage upload names (SQLite/PostgreSQL/MySQL)
|
Thanks @2ykwang |
closes #745