Repository navigation
Conversation
psresource tests skipped for now until I have time to fix them.
gaelcolas
enabled auto-merge (squash)
March 31, 2026 07:38
gaelcolas
disabled auto-merge
March 31, 2026 07:38
There was a problem hiding this comment.
Pull request overview
This PR experiments with switching the module “pack” workflow to a new PSResourceGet-based packaging task, along with associated task/test refactors and pipeline updates.
Changes:
- Add
package_psresource_nupkgtask (PSResourceGet) and related release/publish task split-outs. - Update build workflows/pipeline to use the new pack task and run packaging on Ubuntu.
- Add/move unit tests for the new/reorganized tasks; refresh README/changelog and update branding assets.
Reviewed changes
Copilot reviewed 28 out of 31 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/Unit/tasks/SetPsModulePath.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/tasks/release.psresource.build.Tests.ps1 | Add unit tests for new PSResourceGet-based release/pack task. |
| tests/Unit/tasks/release.module.build.Tests.ps1 | Remove migrated tests; add stubs for PSResourceGet cmdlets in publish tests. |
| tests/Unit/tasks/publish.nuget.build.Tests.ps1 | Add unit tests for extracted NuGet publish task file. |
| tests/Unit/tasks/JaCoCo.coverage.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/tasks/Invoke-Pester.pester.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/tasks/GuestConfig.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/tasks/generateHelp.PlatyPS.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/tasks/DeployAll.PSDeploy.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/tasks/Create_Release_Git_Tag.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/tasks/Create_Changelog_Branch.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/tasks/Clean.ModuleBuilder.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/tasks/ChocolateyPackage.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/tasks/Changelog.changelogmanagement.build.Tests.ps1 | Add unit tests for extracted changelog task file. |
| tests/Unit/tasks/Build-Module.ModuleBuilder.build.Tests.ps1 | Fix test description wording (“correctly”). |
| tests/Unit/scripts/Set-SamplerTaskVariable.Tests.ps1 | Fix test description wording (“correctly”). |
| Sampler/Templates/Build/Resolve-Dependency.psd1.template | Comment/format PSResourceGet-related optional settings. |
| Sampler/assets/sampler.svg | Replace/update SVG asset. |
| Sampler/assets/Sampler_512.png | Add/update raster asset (binary). |
| Resolve-Dependency.psd1 | Comment out compatibility-module defaults. |
| RequiredModules.psd1 | Add Microsoft.PowerShell.PSResourceGet to required modules list. |
| README.md | Refresh intro text and add logo image reference. |
| CHANGELOG.md | Document addition of package_psresource_nupkg. |
| build.yaml | Switch pack workflow to package_psresource_nupkg (old task commented). |
| azure-pipelines.yml | Run packaging job on ubuntu-latest instead of Windows. |
| .build/tasks/release.psresource.build.ps1 | New task file: PSResourceGet-based packaging + PSResource publish task. |
| .build/tasks/release.module.build.ps1 | Remove tasks moved into new task files. |
| .build/tasks/publish.nuget.build.ps1 | New task file: NuGet publish task split out. |
| .build/tasks/DeployAll.PSDeploy.build.ps1 | Add deprecation warning for PSDeploy support. |
| .build/tasks/Changelog.changelogmanagement.build.ps1 | New task file: changelog/release-notes task split out. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Just creating PR to see how the build behaves.
This is not complete. do not merge for now.
This change is