Bump PSModule/Process-PSModule/.github/workflows/workflow.yml from 5.4.6 to 5.4.7
Type: Pull Request
State: Open
Association: Unknown
Comments: 4
(4 months ago)
(3 months ago)
dependencies
Bumps PSModule/Process-PSModule/.github/workflows/workflow.yml from 5.4.6 to 5.4.7.
Release notes
Sourced from PSModule/Process-PSModule/.github/workflows/workflow.yml's releases.
v5.4.7
🩹 [Patch]: Framework-generated code coverage no longer penalizes module authors (#310)
Framework-generated boilerplate — type accelerator registration and
OnRemovecleanup — is now tested and covered by updated action versions referenced in this workflow. The obsolete$IsWindowsPS 5.1 shim is no longer injected into built modules. Coverage from the framework test step and the module test step is already aggregated by Get-CodeCoverage, so module authors' coverage percentages now reflect only the code they wrote.
- Fixes #309
Changed: Build-PSModule updated to v4.0.14
Built modules no longer include the
$IsWindows = $trueDesktop edition shim or its PSScriptAnalyzer suppression attributes. PSModule targets PowerShell LTS (7.6+), where$IsWindowsis a built-in automatic variable.See PSModule/Build-PSModule#132 for details.
Changed: Test-PSModule updated to v3.0.10
The framework module tests now validate that every public class and enum is registered as a type accelerator after import, and that the
OnRemovehook cleans them up when the module is removed. These tests produce coverage artifacts that are aggregated with module author test coverage, so framework-generated boilerplate no longer counts against the module author's coverage target.See PSModule/Test-PSModule#113 for details.
Changed: README documents the framework testing design
The README now explains:
- Why framework-generated code is tested by the framework itself
- How coverage from both the framework test step and the module test step is aggregated
- That module authors do not need to test framework-generated code themselves
Technical Details
.github/workflows/Build-Module.yml: Updated Build-PSModule from v4.0.13 to v4.0.14 (345728124d201f371a8b0f1aacb98f89000a06dc).github/workflows/Test-Module.yml: Updated Test-PSModule from v3.0.8 to v3.0.10 (8c3337136dc7cf320da39eeb50e776d04bc9ac73).github/workflows/Test-SourceCode.yml: Updated Test-PSModule from v3.0.8 to v3.0.10README.md: Added "Code coverage for framework-generated code" paragraph under the Framework test section; added coverage aggregation details under the Get code coverage section; removed reference to the$IsWindowsshim- No workflow structure changes — code coverage was already enabled in Test-Module.yml and Get-PesterCodeCoverage already aggregates all
*-CodeCoverageartifacts
Commits
3ed96da🩹 [Patch]: Framework-generated code coverage no longer penalizes module autho...- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Technical Details
| ID: | 15043639 |
| UUID: | 4208985159 |
| Node ID: | PR_kwDON7gGk87QGEhH |
| Host: | GitHub |
| Repository: | PSModule/TimeSpan |