zyborg / pester-tests-report

GitHub Action to run Pester tests and generate report attached to Workflow Run
MIT License
40 stars 13 forks source link

'result_clixml_path' is an input option in action.ps1 but not specified as an input in action.yml #18

Open aldrichtr opened 2 years ago

aldrichtr commented 2 years ago

in action.ps1 the test_results_path is available as an input option. If it is provided, then it looks for result_clixml_path :

$test_results_path = $inputs.test_results_path
if ($test_results_path) {
    Write-ActionInfo "Test Results Path provided as input; skipping Pester tests"

    $result_clixml_path = Get-ActionInput result_clixml_path
    if ($result_clixml_path) {
        $script:pesterResult = Import-Clixml $result_clixml_path
        Write-ActionInfo "Pester Result CLIXML provided as input; loaded"
    }
}

However, in action.yml, result_clixml_path is not listed in inputs: