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

Remove incorrect CAST in test database cleanup for MySQL. #2599

Merged
merged 2 commits into from
Jul 14, 2023

Conversation

fd
Copy link
Contributor

@fd fd commented Jul 7, 2023

Before this change the first test would always fail with a syntax error.

@fd
Copy link
Contributor Author

fd commented Jul 7, 2023

The testing infrastructure, and/or coverage, seems to be lacking. Maybe we can make a testing strategy that covers all the database systems and their common versions?

@abonander
Copy link
Collaborator

The more versions there are to cover, the longer CI will take to run. Oldest and latest should be sufficient.

There are tests to cover the additional functionality of #[sqlx::test] but they don't cover cleanup as they're just one and done. The workflow would need to be modified to run the tests twice to ensure cleanup works.

@abonander abonander merged commit aee0e18 into launchbadge:main Jul 14, 2023
57 checks passed
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.

None yet

2 participants