Commit 006f96a
authored
FEAT: Add support for testing against SQL Server 2025 across Windows, macOS, and Linux CI pipelines (#389)
### Work Item / Issue Reference
<!--
IMPORTANT: Please follow the PR template guidelines below.
For mssql-python maintainers: Insert your ADO Work Item ID below (e.g.
AB#37452)
For external contributors: Insert Github Issue number below (e.g. #149)
Only one reference is required - either GitHub issue OR ADO Work Item.
-->
<!-- mssql-python maintainers: ADO Work Item -->
>
[AB#40316](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/40316)
<!-- External contributors: GitHub Issue -->
> GitHub Issue: #<ISSUE_NUMBER>
-------------------------------------------------------------------
### Summary
<!-- Insert your summary of changes below. Minimum 10 characters
required. -->
This pull request adds support for testing against SQL Server 2025
across Windows, macOS, and Linux CI pipelines. It introduces new matrix
configurations, installation steps, and test/benchmark execution for SQL
Server 2025, ensuring the project is validated on the upcoming SQL
Server release as well as existing versions.
**CI Pipeline Enhancements for SQL Server 2025:**
*Windows pipeline updates:*
- Added a new matrix entry for `SQLServer2025` with Python 3.14 to the
Windows pipeline, alongside the installation and setup scripts for SQL
Server 2025 Express, including database and user creation steps.
[[1]](diffhunk://#diff-296c8f902bbd70f34ee1c8c32383c8c99165fe4c8e5b0f234f8f22246e56a621L55-R60)
[[2]](diffhunk://#diff-296c8f902bbd70f34ee1c8c32383c8c99165fe4c8e5b0f234f8f22246e56a621R162-R227)
- Configured test execution and code coverage collection for SQL Server
2025, mirroring existing steps for SQL Server 2022.
- Updated AdventureWorks2022 database restore and performance
benchmarking steps to also run for SQL Server 2025.
[[1]](diffhunk://#diff-296c8f902bbd70f34ee1c8c32383c8c99165fe4c8e5b0f234f8f22246e56a621L217-R291)
[[2]](diffhunk://#diff-296c8f902bbd70f34ee1c8c32383c8c99165fe4c8e5b0f234f8f22246e56a621L309-R384)
*macOS and Linux pipeline updates:*
- Added matrix entries and logic to run tests against SQL Server 2025
Docker images on both macOS and Linux, in addition to SQL Server 2022.
[[1]](diffhunk://#diff-296c8f902bbd70f34ee1c8c32383c8c99165fe4c8e5b0f234f8f22246e56a621R427-R435)
[[2]](diffhunk://#diff-296c8f902bbd70f34ee1c8c32383c8c99165fe4c8e5b0f234f8f22246e56a621R542-R546)
- Updated Docker commands to use the matrix-provided SQL Server image,
supporting both 2022 and 2025 images.
*General improvements:*
- Enhanced test result publishing to include the SQL Server version in
the run title for better traceability.
**Other minor changes:**
- Updated the `git rm` and `git checkout` commands in the ADO sync
pipeline to exclude the `.gdn` directory from removal and checkout,
preventing accidental deletion of required files.
<!--
### PR Title Guide
> For feature requests
FEAT: (short-description)
> For non-feature requests like test case updates, config updates ,
dependency updates etc
CHORE: (short-description)
> For Fix requests
FIX: (short-description)
> For doc update requests
DOC: (short-description)
> For Formatting, indentation, or styling update
STYLE: (short-description)
> For Refactor, without any feature changes
REFACTOR: (short-description)
> For release related changes, without any feature changes
RELEASE: #<RELEASE_VERSION> (short-description)
### Contribution Guidelines
External contributors:
- Create a GitHub issue first:
https://github.com/microsoft/mssql-python/issues/new
- Link the GitHub issue in the "GitHub Issue" section above
- Follow the PR title format and provide a meaningful summary
mssql-python maintainers:
- Create an ADO Work Item following internal processes
- Link the ADO Work Item in the "ADO Work Item" section above
- Follow the PR title format and provide a meaningful summary
-->1 parent 38e2382 commit 006f96a
1 file changed
+98
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
162 | 228 | | |
163 | 229 | | |
164 | 230 | | |
| |||
180 | 246 | | |
181 | 247 | | |
182 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
183 | 257 | | |
184 | 258 | | |
185 | 259 | | |
| |||
214 | 288 | | |
215 | 289 | | |
216 | 290 | | |
217 | | - | |
| 291 | + | |
218 | 292 | | |
219 | 293 | | |
220 | 294 | | |
| |||
306 | 380 | | |
307 | 381 | | |
308 | 382 | | |
309 | | - | |
310 | | - | |
| 383 | + | |
| 384 | + | |
311 | 385 | | |
312 | 386 | | |
313 | 387 | | |
| |||
350 | 424 | | |
351 | 425 | | |
352 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
353 | 436 | | |
354 | 437 | | |
355 | 438 | | |
| |||
382 | 465 | | |
383 | 466 | | |
384 | 467 | | |
385 | | - | |
| 468 | + | |
386 | 469 | | |
387 | 470 | | |
388 | 471 | | |
389 | 472 | | |
390 | 473 | | |
391 | | - | |
| 474 | + | |
392 | 475 | | |
393 | 476 | | |
394 | 477 | | |
| |||
426 | 509 | | |
427 | 510 | | |
428 | 511 | | |
429 | | - | |
| 512 | + | |
430 | 513 | | |
431 | 514 | | |
432 | 515 | | |
| |||
456 | 539 | | |
457 | 540 | | |
458 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
459 | 547 | | |
460 | 548 | | |
461 | 549 | | |
| |||
0 commit comments