Skip to content

Add SQL Server testing on Github Actions#37501

Merged
roji merged 2 commits intodotnet:mainfrom
roji:TestSqlServer
Jan 13, 2026
Merged

Add SQL Server testing on Github Actions#37501
roji merged 2 commits intodotnet:mainfrom
roji:TestSqlServer

Conversation

@roji
Copy link
Member

@roji roji commented Jan 13, 2026

For SQL Server 2025, 2022, 2019.

Closes #36382

@roji roji requested a review from a team as a code owner January 13, 2026 17:43
Copilot AI review requested due to automatic review settings January 13, 2026 17:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds GitHub Actions workflow support for testing Entity Framework Core against multiple SQL Server versions (2025, 2022, and 2019) using Docker service containers. The workflow runs on Ubuntu and tests the SQL Server provider against each version in parallel. Additionally, the PR aligns the TestCosmos workflow to also trigger on push events for consistency.

Changes:

  • New GitHub Actions workflow for SQL Server functional tests with matrix strategy for versions 2025, 2022, and 2019
  • Updated TestCosmos workflow to include push event triggers in addition to pull_request
  • Updated solution file to reference the new workflow

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/TestSqlServer.yaml New workflow that configures SQL Server service containers for each version and runs functional tests
.github/workflows/TestCosmos.yaml Added push event triggers to match the SQL Server workflow pattern
EFCore.slnx Added reference to the new TestSqlServer.yaml workflow file

@roji
Copy link
Member Author

roji commented Jan 13, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI review requested due to automatic review settings January 13, 2026 17:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@roji roji marked this pull request as draft January 13, 2026 18:11
@roji roji force-pushed the TestSqlServer branch 8 times, most recently from 9e7be99 to ea38520 Compare January 13, 2026 18:47
For SQL Server 2025, 2022, 2019.

Closes dotnet#36382
@roji roji marked this pull request as ready for review January 13, 2026 18:54
Copilot AI review requested due to automatic review settings January 13, 2026 18:54
@roji roji enabled auto-merge (squash) January 13, 2026 18:56
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

@roji roji disabled auto-merge January 13, 2026 20:04
@roji roji enabled auto-merge (squash) January 13, 2026 20:04
@roji roji merged commit 2e2de7e into dotnet:main Jan 13, 2026
11 checks passed
@roji roji deleted the TestSqlServer branch January 13, 2026 20:05
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.

Set up CI testing against SQL Server 2025 (and other versions)

3 participants