Leverage PowerShellBuild + Migrate to Pester 5 Tests#419
Merged
psjamesp merged 2 commits intoPowerShellOrg:masterfrom Oct 4, 2021
Merged
Leverage PowerShellBuild + Migrate to Pester 5 Tests#419psjamesp merged 2 commits intoPowerShellOrg:masterfrom
psjamesp merged 2 commits intoPowerShellOrg:masterfrom
Conversation
Member
Author
|
Hopefully resolves #345. When folks submit PR's in the Future, they'll get a nice test result comment added. Something like https://github.com/HeyItsGilbert/Plaster/runs/3786247775?check_suite_focus=true If you're curious what the actual build looks like: https://github.com/HeyItsGilbert/Plaster/runs/3786232749?check_suite_focus=true#step:4:1 |
Contributor
|
Approved. |
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.
I tried (and failed) at keeping this small. My goal was to migrate to a cleaner build process so that future developers would have an easier time building and testing. With the build improved, this meant that publishing also became trivial. A lot of this came from looking at how @devblackops has devblackops/stucco setup.
Changes to the Actual Module
Plaster\references inPlaster/InvokePlaster.ps1because this was causing the builds to fail for Ubuntu and Mac.srcwas renamed toPlasterto allowBuildHelpersto more easily determine the module.testwas renamed totests.Changes to Tests
Test:\directory.GetFullPathcommand (copied from Pester documentation) toNew Build
PowerShellBuildandBuildHelpershelper modules to make building seamless.C:\.Workflow Changes
Minor Changes
docswere auto generated.