Skip to content

test: Fix the certificate mock scoping and cover the signing surface #291

test: Fix the certificate mock scoping and cover the signing surface

test: Fix the certificate mock scoping and cover the signing surface #291

Triggered via pull request September 3, 2026 17:59
Status Success
Total duration 6m 28s
Artifacts 8

test.yml

on: pull_request
Matrix: CI / Run Pwsh Tests
CI  /  Run Tests (Windows PowerShell 5.1)
5m 50s
CI / Run Tests (Windows PowerShell 5.1)
CI  /  Publish Unit Tests Results
30s
CI / Publish Unit Tests Results
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
CI / Run Linters
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, streetsidesoftware/cspell-action@v6. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
CI / Run Linters: tests/Get-PSBuildCertificate.tests.ps1#L202
Unknown word (Pkcs) Suggestions: (pacs, pecs, Pecs, pics, pcs)
CI / Run Linters: tests/Get-PSBuildCertificate.tests.ps1#L154
Unknown word (EFGH) Suggestions: (each, edge, edgy, effs, efik)
CI / Run Linters: PowerShellBuild/Public/Get-PSBuildCertificate.ps1#L111
Unknown word (securestring) Suggestions: (secreting, sequestering)
CI / Run Linters: PowerShellBuild/Public/Get-PSBuildCertificate.ps1#L107
Unknown word (CERTIFICATEPASSWORD)
CI / Run Linters: PowerShellBuild/Public/Get-PSBuildCertificate.ps1#L105
Unknown word (SIGNCERTIFICATE)
CI / Run Linters: PowerShellBuild/Public/Get-PSBuildCertificate.ps1#L86
Unknown word (codesign) Suggestions: (codein, cosign, consign, cohesion, codebig)
CI / Run Linters: PowerShellBuild/Public/Get-PSBuildCertificate.ps1#L69
Unknown word (SIGNCERTIFICATE)
CI / Run Linters: PowerShellBuild/Public/Get-PSBuildCertificate.ps1#L48
Unknown word (CERTIFICATEPASSWORD)
CI / Run Linters: PowerShellBuild/Public/Get-PSBuildCertificate.ps1#L45
Unknown word (SIGNCERTIFICATE)
CI / Run Linters: PowerShellBuild/Private/Import-PSBuildX509Certificate.ps1#L63
Unknown word (securestring) Suggestions: (secreting, sequestering)
CI / Run Linters
Only 'fixed, security' sections are allowed for version 0.7.3.
CI / Run Linters
Only 'fixed, security' sections are allowed for version 0.7.2.
CI / Run Linters
Only 'fixed, security' sections are allowed for version 0.6.2.
CI / Run Linters
No target version specified. Will try to return the most recent one in the changelog file.
CI / Run Pwsh Tests (ubuntu-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
CI / Run Pwsh Tests (macOS-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
CI / Run Pwsh Tests (windows-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
CI / Run Tests (Windows PowerShell 5.1)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
CI / Publish Unit Tests Results
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/download-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
Code Coverage Results (OS macOS-latest)
4.45 KB
sha256:f9448b288fd339b32a001fa9b4da4985e2264cdd9853cde53705ce86c6a9fd0e
Code Coverage Results (OS ubuntu-latest)
4.45 KB
sha256:fb404a1ac74178ee292c5be3343874b51cf35db28109ceb040e12ca97a85f83f
Code Coverage Results (OS windows-latest)
4.41 KB
sha256:5f85eafe34f77e9307f425aaea28df48b307bdcb3446e1dcc7f0b956f169105f
Code Coverage Results (Windows PowerShell 5.1)
4.41 KB
sha256:47669e4f5b6fb4371c473c2ab9d27c32bb0cba8359e106fa8a730e695811363e
Unit Test Results (OS macOS-latest)
16.8 KB
sha256:c009278185562fb443a2c8c6e6424616ebf0c252f298791f64eff93a6840c535
Unit Test Results (OS ubuntu-latest)
16.2 KB
sha256:a68c275e052d2da848164bf63a76ab80136ef0001a83805af163a700bcbf55b2
Unit Test Results (OS windows-latest)
16.5 KB
sha256:ec7352ef3ed796269f9d0f534385d581ad989b371d6a7fe7b614db6a2cc8bfee
Unit Test Results (Windows PowerShell 5.1)
16.6 KB
sha256:d918ff0fd54aad5a5cce24ad15f77adad2a790cf7983d910d642c1fbaa3823ee