Skip to content

Commit 48408b0

Browse files
Use generic report path examples
1 parent f4c5691 commit 48408b0

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/Action-Test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,20 +138,20 @@ jobs:
138138
WorkingDirectory: tests/srcTestRepo
139139
TestResult_Enabled: true
140140
TestResult_OutputFormat: NUnitXml
141-
TestResult_OutputPath: .PSModule/Explicit/TestResult.xml
141+
TestResult_OutputPath: artifacts/TestResult/results.xml
142142
CodeCoverage_Enabled: true
143143
CodeCoverage_OutputFormat: JaCoCo
144-
CodeCoverage_OutputPath: .PSModule/Explicit/CodeCoverage.xml
144+
CodeCoverage_OutputPath: artifacts/CodeCoverage/coverage.xml
145145
CodeCoverage_Path: ../../src/tests/PSScriptAnalyzer/PSScriptAnalyzer.Tests.ps1
146146

147147
- name: Assert report paths
148148
shell: pwsh
149149
run: |
150150
tests/Assert-ReportPaths.ps1 `
151151
-WorkingDirectory tests/srcTestRepo `
152-
-TestResultPath .PSModule/Explicit/TestResult.xml `
153-
-CodeCoveragePath .PSModule/Explicit/CodeCoverage.xml `
154-
-ArtifactDirectory .PSModule `
152+
-TestResultPath artifacts/TestResult/results.xml `
153+
-CodeCoveragePath artifacts/CodeCoverage/coverage.xml `
154+
-ArtifactDirectory artifacts `
155155
-UnexpectedDirectory TestResult,CodeCoverage,.temp
156156
157157
ActionTestInvokePesterDefaultReportPaths:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ CodeCoverage/PSScriptAnalyzer-CodeCoverage-Report.xml
7979
Set either input to override only that report's location:
8080

8181
```text
82-
TestResult_OutputPath: .PSModule/TestResult/PSScriptAnalyzer-TestResult-Report.xml
83-
CodeCoverage_OutputPath: .PSModule/CodeCoverage/PSScriptAnalyzer-CodeCoverage-Report.xml
82+
TestResult_OutputPath: artifacts/TestResult/results.xml
83+
CodeCoverage_OutputPath: artifacts/CodeCoverage/coverage.xml
8484
```
8585

8686
## Outputs

0 commit comments

Comments
 (0)