Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Conversation

TravisEz13
Copy link
Member

@TravisEz13TravisEz13 commentedJan 31, 2025
edited
Loading

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.

@TravisEz13TravisEz13 marked this pull request as ready for reviewJanuary 31, 2025 21:10
@TravisEz13
Copy link
MemberAuthor

/azp run

@TravisEz13TravisEz13enabled auto-merge (squash)January 31, 2025 23:17
@azure-pipelinesAzure Pipelines
Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@TravisEz13
Copy link
MemberAuthor

/azp run

@azure-pipelinesAzure Pipelines
Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@TravisEz13TravisEz13 merged commitc505f4b intomasterJan 31, 2025
21 of 34 checks passed
@TravisEz13TravisEz13 deleted the convert-powershell-powershell-ci-linux-to-actions-20250131-203900 branchJanuary 31, 2025 23:57
@microsoft-github-policy-serviceMicrosoft GitHub Policy Service
Copy link
Contributor

microsoft-github-policy-servicebot commentedJan 31, 2025
edited by unfurl-linksbot
Loading

📣 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 requestFeb 4, 2025
TravisEz13 added a commit to TravisEz13/PowerShell that referenced this pull requestFeb 4, 2025
@jshigetomijshigetomi added the CL-BuildPackagingIndicates that a PR should be marked as a build or packaging change in the Change Log labelFeb 12, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@adityapatwardhanadityapatwardhanadityapatwardhan approved these changes

@daxian-dbwdaxian-dbwAwaiting requested review from daxian-dbw

Assignees
No one assigned
Labels
BackPort-7.4.x-DoneBackPort-7.5.x-DoneCL-BuildPackagingIndicates that a PR should be marked as a build or packaging change in the Change Log
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@TravisEz13@adityapatwardhan@jshigetomi

[8]ページ先頭

©2009-2025 Movatter.jp