Add CI pipeline to run eng/scripts PowerShell unit tests
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 69/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 5.6k
- Forks
- 3.4k
- Merge médio
- 1d 23h
- PRs com merge (30d)
- 189
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Azure/azure-sdk-for-python
-
SyntaxWarning: Invalid escape sequence \/ in `azure-mgmt-resource-deploymentstacks` 1.0.0Talvez já em andamento @msyyc assumiu há 7 dias. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
Azure/azure-sdk-for-python#50155 · 1 reação · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[Teams Chatbot]: next-mypy install 404s should point to CFS auth or --pypi workaroundTalvez já em andamento @jianingwang123 assumiu há 24 dias. Abertaneeds-triage
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 72/100
Azure/azure-sdk-for-python#49886 · 1 comentário · 2 reações · 2 responsáveis ·
Mantenedores costumam responder em até 1 dia
-
[AI Projects] AIProjectInstrumentor: non-streamed responses.create raises AttributeError ('NonRecordingSpan' object has no attribute 'attributes') when the span is not sampledTalvez já em andamento @14H034160212 assumiu há 26 dias. AbertaAI Projects Client customer-reported question
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Azure/azure-sdk-for-python#49854 · 2 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
azure-eventhub migration guide: legacy checkpoint sample writes "None" metadata for partitions that were never checkpointedTalvez já em andamento @hidingmyname assumiu há 34 dias. AbertaClient customer-reported Event Hubs needs-team-attention question Service Attention
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Azure/azure-sdk-for-python#49723 · 2 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Scheduled test pipelines fail at the Analyze_Test stage due to date formattingTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. AbertaEngSys
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Azure/azure-sdk-for-python#49614 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
Todas as issues de Azure/azure-sdk-for-python
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
openvax/varcode#824 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Add SAS as a cable typeAbertanetbox status: needs triage type: feature
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
netbox-community/netbox#23868 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
TigreGotico/numtag#602 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
qboson/kaiwu-pytorch-plugin#2308 ·
Mantenedores costumam responder em até 2 dias
-
Make the HTTP server's keep-alive and headers timeouts configurableTalvez já em andamento @mattgodbolt assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
compiler-explorer/compiler-explorer#9902 ·
Mantenedores costumam responder em até 1 dia