File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,9 @@ jobs:
258258 # Install CMake on macOS
259259 - script : |
260260 brew update
261+ # Uninstall existing CMake to avoid tap conflicts
262+ brew uninstall cmake --ignore-dependencies || echo "CMake not installed or already removed"
263+ # Install CMake from homebrew/core
261264 brew install cmake
262265 displayName: 'Install CMake'
263266
@@ -337,7 +340,7 @@ jobs:
337340 python -m pytest -v
338341 displayName: 'Run Pytest to validate bindings'
339342 env:
340- DB_CONNECTION_STRING: 'Driver=ODBC Driver 18 for SQL Server;Server=localhost ;Database=master;Uid=SA;Pwd=$(DB_PASSWORD);TrustServerCertificate=yes'
343+ DB_CONNECTION_STRING: 'Driver=ODBC Driver 18 for SQL Server;Server=tcp:127.0.0.1,1433 ;Database=master;Uid=SA;Pwd=$(DB_PASSWORD);TrustServerCertificate=yes'
341344
342345 # Build wheel package for universal2
343346 - script : |
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ jobs:
152152 python -m pytest -v --junitxml=test-results.xml --cov=. --cov-report=xml --capture=tee-sys --cache-clear
153153 displayName: 'Run pytest with coverage'
154154 env:
155- DB_CONNECTION_STRING: 'Driver=ODBC Driver 18 for SQL Server;Server=localhost ;Database=master;Uid=SA;Pwd=$(DB_PASSWORD);TrustServerCertificate=yes'
155+ DB_CONNECTION_STRING: 'Driver=ODBC Driver 18 for SQL Server;Server=tcp:127.0.0.1,1433 ;Database=master;Uid=SA;Pwd=$(DB_PASSWORD);TrustServerCertificate=yes'
156156 DB_PASSWORD: $(DB_PASSWORD)
157157
158158 - task : PublishTestResults@2
You can’t perform that action at this time.
0 commit comments