SG-40980 Simplify Azure Pipeline CI pipeline#436
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR simplifies the Azure Pipelines CI configuration by introducing parameterized loops to reduce code duplication. Instead of explicitly defining separate job templates for each OS, the pipeline now uses parameters to dynamically generate jobs for all combinations of operating systems and Python versions.
Key Changes:
- Introduced
python_versionsandos_versionsparameters to define test matrix configurations - Replaced explicit job template calls with nested loops that generate jobs dynamically
- Updated the
run-tests.ymltemplate to accept Python version as a parameter and removed the strategy matrix
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| azure-pipelines.yml | Added parameters for Python and OS versions, replaced explicit job templates with nested loops to generate test jobs dynamically |
| azure-pipelines-templates/run-tests.yml | Added python_version parameter, removed strategy matrix, converted OS name comparison to vm_image prefix checks, standardized task syntax to Bash@3 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This was referenced Dec 12, 2025
…plify-ci-pipeline
carlos-villavicencio-adsk
approved these changes
Jan 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Simplify the os_version/python_version combination for calling the test template.
No longer use a matrix strategy because only work with one dimension.
Define and use parameter for each version dimension and use the each operator for looping over both parameters.
Replicated changes on multiple repositories