- Notifications
You must be signed in to change notification settings - Fork7.7k
Convert powershell/PowerShell-Windows-CI to GitHub Actions#24899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Convert powershell/PowerShell-Windows-CI to GitHub Actions#24899
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…nuget_config_azfeed
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
.github/actions/tools_releasebuild_azuredevops_templates_insert_nuget_config_azfeed/action.yml OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…t_nuget_config_azfeed/action.yml
.github/actions/pipelines_templates_insert_nuget_config_azfeed/action.yml OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
…indows-ci-to-actions-20250129-195141
/azp run PowerShell-CI-macos, PowerShell-CI-Linux, PowerShell-CI-Windows, PowerShell-Windows-Packaging-CI |
Azure Pipelines successfully started running 4 pipeline(s). |
2066eb6
intomasterUh oh!
There was an error while loading.Please reload this page.
microsoft-github-policy-servicebot commentedJan 31, 2025 • edited by unfurl-linksbot
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by unfurl-linksbot
Uh oh!
There was an error while loading.Please reload this page.
📣 Hey@TravisEz13, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗https://aka.ms/PSRepoFeedback |
Uh oh!
There was an error while loading.Please reload this page.
Pipeline migrated fromAzure DevOps
Tested this at:https://github.com/TravisEz13/PowerShell/actions/runs/13077820229
This pull request includes significant updates to the CI/CD pipeline configuration and testing processes, primarily focusing on PowerShell builds and tests. The changes introduce new workflows, modify existing ones, and enhance logging and artifact handling.
CI/CD Pipeline Enhancements:
New CI Build Workflow:
.github/actions/build/ci/action.yml
, which includes steps for capturing the environment, setting build names, bootstrapping, building, running xUnit tests, and uploading build artifacts.New Test Verification Workflow:
.github/actions/test/verify_xunit/action.yml
, which downloads build artifacts, captures the artifacts directory, and tests xUnit results.New Windows Test Workflow:
.github/actions/test/windows/action.yml
, which includes steps for capturing the environment, downloading build artifacts, bootstrapping, running tests, converting JUnit to CTRF, and publishing test reports.Workflow Modifications:
Auto Assign PR Maintainer:
.github/workflows/AssignPrs.yml
to trigger on issues instead of pull requests and added a condition to check if the event issue is a pull request.[1][2]Windows CI Workflow:
.github/workflows/windows-ci.yml
to handle build, unelevated and elevated tests, and xUnit test result verification.Logging and Artifact Handling Enhancements:
Enhanced Verbose Logging:
tools/ci.psm1
by adding detailed logs for importing modules and starting Pester tests with specific output formats.[1][2][3][4][5][6]Artifact Handling in GitHub Actions:
build.psm1
andtools/ci.psm1
to handle artifact uploading and copying in GitHub Actions environments.[1][2]These changes collectively enhance the CI/CD pipeline's robustness, improve logging for better debugging, and ensure seamless artifact handling across different environments.