Skip to content

Conversation

fiseni
Copy link
Collaborator

@fiseni fiseni commented Feb 24, 2025

We've been using Windows hosts and LocalDb database for the CI workflows. That's mainly because of the EF6 package and net472 target.

But it's not stable, and we have random fails. The connection to localDb fails because it's not always up and ready. We can mitigate the issue by waiting for the database to be ready before running the tests.

Anyhow instead of all that, since the EF6 package targets net9.0 too; then let's just use ubuntu hosts and run tests using only net9.0 runtime. We're using TestContainers, so we won't need localDb, we'll utilize the mssql container for the tests.

It's a bit of a risk not to run the tests for net472 target, but it's a rarely changing package. And also we may always run it locally.

@fiseni fiseni requested a review from ardalis February 24, 2025 20:40
@ardalis
Copy link
Owner

ardalis commented Feb 24, 2025

Agreed.

@fiseni fiseni merged commit e85e4b7 into main Feb 24, 2025
1 check passed
@fiseni fiseni deleted the fiseni/ubuntu-host branch February 24, 2025 20:55
This was referenced Oct 1, 2025
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.

2 participants