Skip to content
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

Fix SQL Server dialect name to match switch case, update failing SQL Server tests #270

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

omkar-foss
Copy link
Contributor

@omkar-foss omkar-foss commented Sep 24, 2024

  • [*] Do only one thing
  • [*] Non breaking API changes
  • [*] Tested

What did this pull request do?

Closes #269. Also fixes failing tests for SQL Server (these seem to have never been run previously due to incorrect dialect name, for example see this workflow).

User Case Description

Use correct dialect name when running SQL Server tests, so the tests for sqlserver are executed.

@omkar-foss
Copy link
Contributor Author

omkar-foss commented Sep 24, 2024

@jinzhu whenever you find time, please review this PR, this would be crucial to run SQL Server tests in local machine as well as in Github Actions. Thank you! 😇

Update: Since sqlserver containers have been failing on GitHub actions, this PR can be tested on local machine for now, all SQL Server tests will pass successfully.

@omkar-foss
Copy link
Contributor Author

More info on SQL Server failures in GitHub Actions here. And I've been trying to fix it in this PR here.

@omkar-foss
Copy link
Contributor Author

Github Actions SQL Server workflows have been fixed in this commit, the fix is same as this Gorm PR.

@jinzhu jinzhu merged commit b6ae660 into go-gorm:master Oct 9, 2024
8 of 9 checks passed
@omkar-foss omkar-foss deleted the fix-tests-sqlserver branch October 9, 2024 10:16
@omkar-foss
Copy link
Contributor Author

omkar-foss commented Oct 9, 2024

Thank you for your review @jinzhu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix SQL Server Dialect Name in test_all.sh, so SQL Server tests start running
2 participants