- Notifications
You must be signed in to change notification settings - Fork7.7k
Convert powershell/PowerShell-CI-linux to GitHub Actions#24913
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-CI-linux to GitHub Actions#24913
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.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
/azp run |
Azure Pipelines successfully started running 5 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 5 pipeline(s). |
c505f4b
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 🎉
This pull request introduces several new GitHub Actions workflows and updates existing ones to streamline the CI/CD process. The most significant changes include the addition of new workflows for Linux and Nix testing, the introduction of a new action for processing Pester test results, and updates to existing workflows to improve compatibility and functionality.
New Workflows and Actions:
.github/actions/test/linux-packaging/action.yml
: Added a new action for testing basic Linux packaging. This action captures the environment, downloads build artifacts, extracts files, fixes permissions, and uploads packages..github/actions/test/nix/action.yml
: Added a new action for testing PowerShell on non-Windows platforms. This action captures the environment, downloads build artifacts, extracts files, fixes permissions, runs tests, and uploads test results..github/actions/test/process-pester-results/action.yml
: Added a new action for processing Pester test results. This action converts JUnit test results to CTRF format, publishes the test report, and uploads the test results as artifacts.Workflow Updates:
.github/workflows/linux-ci.yml
: Added a new workflow for Linux CI that includes multiple jobs for building PowerShell, running unelevated and elevated tests, and verifying xUnit test results..github/workflows/windows-ci.yml
: Updated the paths and branches for triggering the workflow to include all necessary files and directories.Code Enhancements:
tools/ci.psm1
: Updated theInvoke-CITest
andInvoke-LinuxTestsCore
functions to support an additionalOutputFormat
parameter, allowing for more flexible test result formats.[1][2][3][4][5][6][7]These changes aim to enhance the CI/CD pipeline by adding new testing capabilities, improving test result processing, and ensuring comprehensive test coverage across different platforms.