-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
59 lines (56 loc) · 2.01 KB
/
Copy pathaction.yml
File metadata and controls
59 lines (56 loc) · 2.01 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Get-PesterCodeCoverage
description: A GitHub Action that is used to gather Code Coverage for the PSModule process.
author: PSModule
branding:
icon: upload-cloud
color: white
inputs:
Debug:
description: Enable debug output.
required: false
default: 'false'
Verbose:
description: Enable verbose output.
required: false
default: 'false'
Version:
description: Specifies the version of the GitHub module to be installed. Accepts an exact version or a NuGet version range (for example '[1.2.0, 2.0.0)').
required: false
Prerelease:
description: Allow prerelease versions if available.
required: false
default: 'false'
WorkingDirectory:
description: The working directory where the script will run from.
required: false
default: '.'
StepSummary_Mode:
description: |
Controls which sections to show in the GitHub step summary.
Use 'Full' for all sections, 'None' to disable, or a comma-separated list of 'Missed, Executed, Files'.
required: false
default: Missed, Files
CodeCoveragePercentTarget:
description: The target for code coverage.
required: false
outputs:
MissedPathReportPath:
description: Path to the generated missed-path report folder.
value: ${{ steps.Get-PesterCodeCoverage.outputs.MissedPathReportPath }}
runs:
using: composite
steps:
- name: Get-PesterCodeCoverage
uses: PSModule/GitHub-Script@8083ec1f733f00357ee4d0db0c6056686e483bc0 # v1.9.0
env:
PSMODULE_GET_PESTERCODECOVERAGE_INPUT_StepSummary_Mode: ${{ inputs.StepSummary_Mode }}
PSMODULE_GET_PESTERCODECOVERAGE_INPUT_CodeCoveragePercentTarget: ${{ inputs.CodeCoveragePercentTarget }}
with:
Name: Get-PesterCodeCoverage
Debug: ${{ inputs.Debug }}
Prerelease: ${{ inputs.Prerelease }}
Verbose: ${{ inputs.Verbose }}
Version: ${{ inputs.Version }}
WorkingDirectory: ${{ inputs.WorkingDirectory }}
ShowInfo: false
Script: ${{ github.action_path }}/src/main.ps1