Skip to content

Delete .vscode/settings.json #93

Delete .vscode/settings.json

Delete .vscode/settings.json #93

GitHub Actions / action_base_tests completed Oct 18, 2024 in 0s

Action Base Tests

This run completed at 10/18/2024 15:03:11

Details

Test Report: Action Base Tests

  • Date: 2024-10-18
  • Time: 15:03:09

Expand the following summaries for more details:

Environment:
Env
user: runner
cwd: /home/runner/work/secret-scanning-review-action/secret-scanning-review-action
os-version: 6.5.0-1025-azure
user-domain: ``
machine-name: fv-az573-21
nunit-version: 2.5.8.0
clr-version: 8.0.8
platform: Linux
Outcome: | Total Tests: 26 | Passed: 16 | Failed: 9
Counters
Total: 26
Errors: 0
Failures: 9
Not-run: 1
Inconclusive: 0
Ignored: 0
Skipped: 0
Invalid: 0

Tests:

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal

❌ Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("varValue1","varName1")

Given valid -Name and -Value, and -SkipLocal

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal
Name: Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("varValue1","varName1")
Outcome: Failure
Time: 0.1341 seconds
Error Message:
Expected '::set-env name=varName1::varValue1
', but got $null.
Error Stack Trace:
at $output | Should -Be $Expected, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
❌ Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("var value 2","var name 2")

Given valid -Name and -Value, and -SkipLocal

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal
Name: Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("var value 2","var name 2")
Outcome: Failure
Time: 0.0107 seconds
Error Message:
Expected '::set-env name=var name 2::var value 2
', but got $null.
Error Stack Trace:
at $output | Should -Be $Expected, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
❌ Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("::set-env name=var%2Cname%3B3::var,value;3 ","var,value;3","var,name;3")

Given valid -Name and -Value, and -SkipLocal

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal
Name: `Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("::set-env name=var%2Cname%3B3::var,value;3
","var,value;3","var,name;3")`
Outcome: Failure
Time: 0.0081 seconds
Error Message:
Expected '::set-env name=var%2Cname%3B3::var,value;3
', but got $null.
Error Stack Trace:
at $output | Should -Be $Expected, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal

❌ Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("varValue1","varName1")

Given valid -Name and -Value, and NOT -SkipLocal

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal
Name: Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("varValue1","varName1")
Outcome: Failure
Time: 0.0085 seconds
Error Message:
Expected '::set-env name=varName1::varValue1
', but got $null.
Error Stack Trace:
at Set-ActionVariable $Name $Value | Should -Be $Expected, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
❌ Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("var value 2","var name 2")

Given valid -Name and -Value, and NOT -SkipLocal

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal
Name: Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("var value 2","var name 2")
Outcome: Failure
Time: 0.01 seconds
Error Message:
Expected '::set-env name=var name 2::var value 2
', but got $null.
Error Stack Trace:
at Set-ActionVariable $Name $Value | Should -Be $Expected, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
❌ Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("::set-env name=var%2Cname%3B3::var,value;3 ","var,value;3","var,name;3")

Given valid -Name and -Value, and NOT -SkipLocal

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal
Name: `Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("::set-env name=var%2Cname%3B3::var,value;3
","var,value;3","var,name;3")`
Outcome: Failure
Time: 0.0113 seconds
Error Message:
Expected '::set-env name=var%2Cname%3B3::var,value;3
', but got $null.
Error Stack Trace:
at Set-ActionVariable $Name $Value | Should -Be $Expected, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Add-ActionSecretMask

✔️ Add-ActionSecretMask.Given a valid -Secret

Given a valid -Secret

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Add-ActionSecretMask
Name: Add-ActionSecretMask.Given a valid -Secret
Outcome: Success ✔️
Time: 0.0137 seconds

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Add-ActionPath

❌ Add-ActionPath.Given a valid -Path and -SkipLocal

Given a valid -Path and -SkipLocal

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Add-ActionPath
Name: Add-ActionPath.Given a valid -Path and -SkipLocal
Outcome: Failure
Time: 0.0089 seconds
Error Message:
Expected '::add-path::/to/some/path
', but got $null.
Error Stack Trace:
at Add-ActionPath $addPath -SkipLocal | Should -Be "::add-path::$($addPath)$EOL", /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:48
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:48
❌ Add-ActionPath.Given a valid -Path and NOT -SkipLocal

Given a valid -Path and NOT -SkipLocal

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Add-ActionPath
Name: Add-ActionPath.Given a valid -Path and NOT -SkipLocal
Outcome: Failure
Time: 0.011 seconds
Error Message:
Expected '::add-path::/to/some/path
', but got $null.
Error Stack Trace:
at Add-ActionPath $addPath | Should -Be "::add-path::$($addPath)$EOL", /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:56
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:56

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name

✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input1")

Given valid -Name

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input1")
Outcome: Success ✔️
Time: 0.0115 seconds
✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT1")

Given valid -Name

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT1")
Outcome: Success ✔️
Time: 0.0109 seconds
✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input1")

Given valid -Name

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input1")
Outcome: Success ✔️
Time: 0.0188 seconds
✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input2")

Given valid -Name

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input2")
Outcome: Success ✔️
Time: 0.0319 seconds
✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT2")

Given valid -Name

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT2")
Outcome: Success ✔️
Time: 0.0073 seconds
✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input2")

Given valid -Name

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input2")
Outcome: Success ✔️
Time: 0.0192 seconds

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInputs / Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case

✔️ Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case(System.Collections.Hashtable,"InPut1")

Given 2 predefined inputs, and a -Name in any case

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInputs / Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case
Name: Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case(System.Collections.Hashtable,"InPut1")
Outcome: Success ✔️
Time: 0.0672 seconds
✔️ Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case(System.Collections.Hashtable,"InPut2")

Given 2 predefined inputs, and a -Name in any case

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInputs / Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case
Name: Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case(System.Collections.Hashtable,"InPut2")
Outcome: Success ✔️
Time: 0.0241 seconds
✔️ Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case(System.Collections.Hashtable,"InPut3")

Given 2 predefined inputs, and a -Name in any case

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Get-ActionInputs / Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case
Name: Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case(System.Collections.Hashtable,"InPut3")
Outcome: Success ✔️
Time: 0.0927 seconds

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Set-ActionOuput

❌ Set-ActionOuput.Given a valid -Name and -Value

Given a valid -Name and -Value

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Set-ActionOuput
Name: Set-ActionOuput.Given a valid -Name and -Value
Outcome: Failure
Time: 0.0325 seconds
Error Message:
Expected '::set-output name=foo_bar::foo bar value
', but got $null.
Error Stack Trace:
at $output | Should -Be "::set-output name=foo_bar::foo bar value$EOL", /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:123
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:123

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Write-ActionDebug

✔️ Write-ActionDebug.Given a valid -Message

Given a valid -Message

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Write-ActionDebug
Name: Write-ActionDebug.Given a valid -Message
Outcome: Success ✔️
Time: 0.0042 seconds

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Write-ActionError

✔️ Write-ActionError.Given a valid -Message

Given a valid -Message

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Write-ActionError
Name: Write-ActionError.Given a valid -Message
Outcome: Success ✔️
Time: 0.0079 seconds

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Write-ActionWarning

✔️ Write-ActionWarning.Given a valid -Message

Given a valid -Message

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Write-ActionWarning
Name: Write-ActionWarning.Given a valid -Message
Outcome: Success ✔️
Time: 0.0049 seconds

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Write-ActionInfo

✔️ Write-ActionInfo.Given a valid -Message

Given a valid -Message

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Write-ActionInfo
Name: Write-ActionInfo.Given a valid -Message
Outcome: Success ✔️
Time: 0.0036 seconds

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Enter-ActionOutputGroup

✔️ Enter-ActionOutputGroup.Given a valid -Name

Given a valid -Name

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Enter-ActionOutputGroup
Name: Enter-ActionOutputGroup.Given a valid -Name
Outcome: Success ✔️
Time: 0.0036 seconds

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Exit-ActionOutputGroup

✔️ Exit-ActionOutputGroup.Given everything is peachy

Given everything is peachy

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Exit-ActionOutputGroup
Name: Exit-ActionOutputGroup.Given everything is peachy
Outcome: Success ✔️
Time: 0.0036 seconds

/ Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Invoke-ActionWithinOutputGroup

✔️ Invoke-ActionWithinOutputGroup.Given a valid -Name and -ScriptBlock

Given a valid -Name and -ScriptBlock

Parent: / Pester / /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1 / Invoke-ActionWithinOutputGroup
Name: Invoke-ActionWithinOutputGroup.Given a valid -Name and -ScriptBlock
Outcome: Success ✔️
Time: 0.0067 seconds