ci: move unit tests to GitHub Actions and optimize Azure Pipelines - #1246
Merged
Conversation
Carter Tinney (cartertinney)
marked this pull request as ready for review
August 31, 2026 17:59
Ewerton Scaboro da Silva (ewertons)
approved these changes
Aug 31, 2026
Copilot started reviewing on behalf of
Ewerton Scaboro da Silva (ewertons)
August 31, 2026 18:06
View session
There was a problem hiding this comment.
Pull request overview
Moves portable CI checks to GitHub Actions while reducing Azure Pipelines usage and optimizing live-resource E2E workflows.
Changes:
- Adds SHA-pinned Ruff and Python 3.10–3.14 GitHub Actions jobs.
- Optimizes Azure setup, caching, concurrency, secret handling, and cleanup.
- Updates CI triggers, runners, Dependabot, and the build badge.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/ci.yml |
Adds lint and unit-test CI. |
.github/dependabot.yml |
Updates GitHub Actions weekly. |
README.md |
Uses the GitHub CI badge. |
vsts/build.yaml |
Removes migrated checks and caches builds. |
vsts/dps-e2e.yaml |
Optimizes DPS resource lifecycle. |
vsts/horton-e2e.yaml |
Restricts automatic triggers. |
vsts/python-canary.yaml |
Expands concurrency and updates runners. |
vsts/python-e2e.yaml |
Optimizes IoT Hub E2E execution. |
vsts/python-nightly.yaml |
Optimizes nightly provisioning and execution. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Thank you for helping us improve the Azure IoT Python SDK!
Checklist
Reference/Link to the issue solved with this PR (if any)
N/A
Description of the problem
Portable checks currently run in Azure Pipelines alongside resource-dependent and Microsoft compliance jobs. This increases ADO usage and leaves several live-resource pipelines doing avoidable checkout, dependency download, provisioning, and duplicate-trigger work.
Description of the solution
uvdownloads and skip unnecessary setup/cleanup checkouts in ADO.uuid.Resource deletion remains synchronous so pipeline success still confirms that Azure finished deleting the resource group.
Validation
bash -n.This is a draft PR to evaluate CI correctness, queue behavior, and elapsed time before marking it ready for review.