-
Notifications
You must be signed in to change notification settings - Fork 7.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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
TravisEz13
merged 28 commits into
master
from
convert-powershell-powershell-ci-linux-to-actions-20250131-203900
Jan 31, 2025
Merged
Convert powershell/PowerShell-CI-linux to GitHub Actions #24913
TravisEz13
merged 28 commits into
master
from
convert-powershell-powershell-ci-linux-to-actions-20250131-203900
Jan 31, 2025
Conversation
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
…nuget_config_azfeed
adityapatwardhan
approved these changes
Jan 31, 2025
/azp run |
Azure Pipelines successfully started running 5 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 5 pipeline(s). |
Contributor
📣 Hey @TravisEz13, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
TravisEz13
added a commit
to TravisEz13/PowerShell
that referenced
this pull request
Feb 4, 2025
TravisEz13
added a commit
to TravisEz13/PowerShell
that referenced
this pull request
Feb 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
BackPort-7.4.x-Done
BackPort-7.5.x-Done
CL-BuildPackaging
Indicates that a PR should be marked as a build or packaging change in the Change Log
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.
Pipeline migrated from Azure 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.