Skip to content

Commit fa56125

Browse files
Resolve analyzer reports from the consumer root
1 parent 33e52f5 commit fa56125

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/Lint-SourceCode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
Path: src
3636
WorkingDirectory: ${{ fromJson(inputs.Settings).WorkingDirectory }}
3737
TestResult_Enabled: true
38-
TestResult_OutputPath: ${{ fromJson(inputs.Settings).WorkingDirectory }}/.PSModule/TestResult/PSModuleLint-SourceCode-${{ runner.os }}-TestResult-Report.xml
38+
TestResult_OutputPath: .PSModule/TestResult/PSModuleLint-SourceCode-${{ runner.os }}-TestResult-Report.xml
3939
TestResult_TestSuiteName: PSModuleLint-SourceCode-${{ runner.os }}
4040

4141
- name: Verify analyzer report location

.github/workflows/Test-Module.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
Verbose: ${{ fromJson(inputs.Settings).Verbose }}
8080
WorkingDirectory: ${{ fromJson(inputs.Settings).WorkingDirectory }}
8181
TestResult_Enabled: true
82-
TestResult_OutputPath: ${{ fromJson(inputs.Settings).WorkingDirectory }}/.PSModule/TestResult/PSModuleLint-Module-${{ runner.os }}-TestResult-Report.xml
82+
TestResult_OutputPath: .PSModule/TestResult/PSModuleLint-Module-${{ runner.os }}-TestResult-Report.xml
8383
TestResult_TestSuiteName: PSModuleLint-Module-${{ runner.os }}
8484

8585
- name: Verify analyzer report location

.github/workflows/Workflow-Test-Default.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ jobs:
8080
shell: pwsh
8181
run: |
8282
$expectedAnalyzerReportPaths = @{
83-
'.github/workflows/Test-Module.yml' = 'TestResult_OutputPath: ${{ fromJson(inputs.Settings).WorkingDirectory }}/.PSModule/TestResult/PSModuleLint-Module-${{ runner.os }}-TestResult-Report.xml'
84-
'.github/workflows/Lint-SourceCode.yml' = 'TestResult_OutputPath: ${{ fromJson(inputs.Settings).WorkingDirectory }}/.PSModule/TestResult/PSModuleLint-SourceCode-${{ runner.os }}-TestResult-Report.xml'
83+
'.github/workflows/Test-Module.yml' = 'TestResult_OutputPath: .PSModule/TestResult/PSModuleLint-Module-${{ runner.os }}-TestResult-Report.xml'
84+
'.github/workflows/Lint-SourceCode.yml' = 'TestResult_OutputPath: .PSModule/TestResult/PSModuleLint-SourceCode-${{ runner.os }}-TestResult-Report.xml'
8585
}
8686
8787
foreach ($workflowPath in $expectedAnalyzerReportPaths.Keys) {

0 commit comments

Comments
 (0)