File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ trigger:
66 include :
77 - main
88
9+ parameters :
10+ - name : enableAzureSQL
11+ displayName : ' Enable Azure SQL Database testing'
12+ type : boolean
13+ default : false
14+
915jobs :
1016- job : CodeQLAnalysis
1117 displayName : ' CodeQL Security Analysis'
7076 LocalDB_Python314 :
7177 sqlVersion : ' LocalDB'
7278 pythonVersion : ' 3.14'
73- ${{ if eq(variables['ENABLE_AZURE_SQL'], ' true' ) }} :
79+ ${{ if eq(parameters.enableAzureSQL, true) }} :
7480 AzureSQL :
7581 sqlVersion : ' AzureSQL'
7682 pythonVersion : ' 3.13'
@@ -466,7 +472,7 @@ jobs:
466472 sqlServerImage : ' mcr.microsoft.com/mssql/server:2025-latest'
467473 sqlVersion : ' SQL2025'
468474 useAzureSQL : ' false'
469- ${{ if eq(variables['ENABLE_AZURE_SQL'], ' true' ) }} :
475+ ${{ if eq(parameters.enableAzureSQL, true) }} :
470476 AzureSQL :
471477 sqlServerImage : ' '
472478 sqlVersion : ' AzureSQL'
@@ -578,7 +584,7 @@ jobs:
578584 distroName : ' Ubuntu-SQL2025'
579585 sqlServerImage : ' mcr.microsoft.com/mssql/server:2025-latest'
580586 useAzureSQL : ' false'
581- ${{ if eq(variables['ENABLE_AZURE_SQL'], ' true' ) }} :
587+ ${{ if eq(parameters.enableAzureSQL, true) }} :
582588 Ubuntu_AzureSQL :
583589 dockerImage : ' ubuntu:22.04'
584590 distroName : ' Ubuntu-AzureSQL'
You can’t perform that action at this time.
0 commit comments