Add CI pipeline to run eng/scripts PowerShell unit tests
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 69/100
調査の方向性
Read the existing Pester tests under eng/scripts/tests/ and compare the .NET and Java eng/scripts/ci.yml examples linked in the issue. Then check the shared eng/common/pipelines/templates/stages/archetype-sdk-tool-pwsh.yml template and the repository's pipeline registration process. Done when offline-safe tests are tagged UnitTest, the new pipeline runs them for the specified branches and platforms, and it is registered for eng/scripts changes.
索引モデルが issue の本文から書いたものです。
説明
Copilot agent :copilot: (on behalf of @jeremymeng):
Summary
Consider adding a CI pipeline (eng/scripts/ci.yml) that runs the Pester tests under eng/scripts/ using the shared eng/common/pipelines/templates/stages/archetype-sdk-tool-pwsh.yml template, similar to what .NET and Java already do.
Prior art
- .NET: eng/scripts/ci.yml -
TargetTags: 'UnitTest,SdkCompatibilityTest' - Java: eng/scripts/ci.yml -
TargetTags: 'UnitTest'
Both trigger on changes to eng/scripts/* (plus related pipeline files) for CI and PRs on main, feature/*, release/*, hotfix/*, and run on Windows and Linux.
Current state in this repo
There is no eng/scripts/ci.yml, but Pester tests already exist and are not run in CI:
eng/scripts/tests/Package-Namespaces.tests.ps1eng/scripts/tests/Release-CompletionCorrelation.tests.ps1
These tests currently have no UnitTest tag. Since the template filters by TargetTags, they need to be tagged as part of this work.
Suggested work
- Tag the offline-safe tests with
-Tag UnitTest. Leave live/network-dependent tests untagged or give them a separate tag. - Add
eng/scripts/ci.ymlthat extends/eng/common/pipelines/templates/stages/archetype-sdk-tool-pwsh.ymlwithTargetDirectory: eng/scripts/andTargetTags: 'UnitTest'. Add anyPreTestStepsneeded, such as a shallow checkout or installing required PowerShell modules or toolchains. - Register the pipeline in Azure DevOps so it runs on PRs that touch
eng/scripts.
- 主要言語
- Python
- スター
- 5.6k
- フォーク
- 3.4k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 189
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/azure-sdk-for-python のほかの issue
-
SyntaxWarning: Invalid escape sequence \/ in `azure-mgmt-resource-deploymentstacks` 1.0.0対応中かも @msyyc が 7 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Azure/azure-sdk-for-python#50155 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Teams Chatbot]: next-mypy install 404s should point to CFS auth or --pypi workaround対応中かも @jianingwang123 が 24 日前に担当しました。 オープンneeds-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
Azure/azure-sdk-for-python#49886 · コメント 1 件 · リアクション 2 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
[AI Projects] AIProjectInstrumentor: non-streamed responses.create raises AttributeError ('NonRecordingSpan' object has no attribute 'attributes') when the span is not sampled対応中かも @14H034160212 が 26 日前に担当しました。 オープンAI Projects Client customer-reported question
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure/azure-sdk-for-python#49854 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
azure-eventhub migration guide: legacy checkpoint sample writes "None" metadata for partitions that were never checkpointed対応中かも @hidingmyname が 34 日前に担当しました。 オープンClient customer-reported Event Hubs needs-team-attention question Service Attention
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure/azure-sdk-for-python#49723 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Scheduled test pipelines fail at the Analyze_Test stage due to date formatting対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンEngSys
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure/azure-sdk-for-python#49614 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
Azure/azure-sdk-for-python の issue をすべて見る
似ている issue
-
area/network kind/documentation triage/needs-human
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
canonical/k8s-snap#3533 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: ops bug effort: small
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
juandresrodca/AdminForge#71 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
fossasia/eventyay-exhibition#465 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Deltakit/deltakit-circuit#28 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信