-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 1015 Bytes
/
Get-TestResults.yml
File metadata and controls
29 lines (26 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Get-TestResults
on:
workflow_call:
inputs:
Settings:
type: string
description: The complete settings object including test suites.
required: true
permissions:
contents: read # to checkout the repo
jobs:
Get-TestResults:
name: Get-TestResults
runs-on: ubuntu-latest
steps:
- name: Get-TestResults
uses: PSModule/Get-PesterTestResults@616387914e439d7b648e3cfaaf73542f5723ff42 # v1.0.8
id: Get-TestResults
with:
SourceCodeTestSuites: ${{ toJSON(fromJson(inputs.Settings).TestSuites.SourceCode) }}
PSModuleTestSuites: ${{ toJSON(fromJson(inputs.Settings).TestSuites.PSModule) }}
ModuleTestSuites: ${{ toJSON(fromJson(inputs.Settings).TestSuites.Module) }}
Debug: ${{ fromJson(inputs.Settings).Debug }}
Prerelease: ${{ fromJson(inputs.Settings).Prerelease }}
Verbose: ${{ fromJson(inputs.Settings).Verbose }}
Version: ${{ fromJson(inputs.Settings).Version }}