Skip to content

Commit 098b028

Browse files
Merge branch 'main' into docs/llm-usage-guide
2 parents 024ccce + 0c8e43c commit 098b028

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

eng/pipelines/pr-validation-pipeline.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
displayName: 'CodeQL Security Analysis'
1212
pool:
1313
vmImage: 'ubuntu-latest'
14-
14+
1515
steps:
1616
- script: |
1717
sudo apt-get update
@@ -45,10 +45,14 @@ jobs:
4545
condition: always()
4646
displayName: 'Finalize CodeQL'
4747

48-
- job: PytestOnWindows
48+
- job: pytestonwindows
4949
displayName: 'Windows x64'
5050
pool:
5151
vmImage: 'windows-latest'
52+
variables:
53+
# Enable CodeQL for this job to update the old stale snapshot (build_jobname=pytestonwindows)
54+
# This can be removed once the old CodeQL issue SM02986 is cleared
55+
Codeql.Enabled: true
5256

5357
strategy:
5458
matrix:
@@ -225,11 +229,22 @@ jobs:
225229
env:
226230
DB_PASSWORD: $(DB_PASSWORD)
227231
232+
# ============== CodeQL Init (temporary - remove after SM02986 is cleared) ==============
233+
- task: CodeQL3000Init@0
234+
inputs:
235+
Enabled: true
236+
displayName: 'Initialize CodeQL (temporary)'
237+
228238
- script: |
229239
cd mssql_python\pybind
230240
build.bat x64
231241
displayName: 'Build .pyd file'
232242
243+
# ============== CodeQL Finalize (temporary - remove after SM02986 is cleared) ==============
244+
- task: CodeQL3000Finalize@0
245+
condition: always()
246+
displayName: 'Finalize CodeQL (temporary)'
247+
233248
# Run tests for LocalDB
234249
- script: |
235250
python -m pytest -v --junitxml=test-results-localdb.xml --cov=. --cov-report=xml:coverage-localdb.xml --capture=tee-sys --cache-clear

0 commit comments

Comments
 (0)