File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 2525 shell : pwsh
2626 run : scripts/util/Get-DuplicateRules.ps1 -Language 'all' -CIMode
2727
28-
28+
29+ validate-rules-structure :
30+ name : Validate Rules Structure
31+ runs-on : ubuntu-22.04
32+ steps :
33+ - name : Checkout
34+ uses : actions/checkout@v2
35+
36+ - name : Ensure CPP Shared Rules Have Valid Structure
37+ shell : pwsh
38+ run : scripts/util/Test-SharedImplementationsHaveTestCases.ps1 -Language cpp -CIMode
39+
40+ - name : Ensure C Shared Rules Have Valid Structure
41+ shell : pwsh
42+ run : scripts/util/Test-SharedImplementationsHaveTestCases.ps1 -Language c -CIMode
43+
44+ - uses : actions/upload-artifact@v3
45+ with :
46+ name : missing-test-report.csv
47+ path : MissingTestReport*
48+
49+ - uses : actions/upload-artifact@v3
50+ with :
51+ name : test-report.csv
52+ path : TestReport*
53+
Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ foreach ($r in $REPORT) {
9797 if (($r [" TEST_DIR_EXISTS" ] -eq $false ) -or ($r [" SOURCE_CODE_EXISTS" ] -eq $false ) -or ($r [" EXPECTED_EXISTS" ] -eq $false ) -or ($r [" REFERENCE_EXISTS" ] -eq $false )){
9898 $failCount += 1
9999 [PSCustomObject ]$r | Export-CSV - Path $missingReportOutputFile - Append - NoTypeInformation
100-
101100 }
102101 [PSCustomObject ]$r | Export-CSV - Path $reportOutputFile - Append - NoTypeInformation
103102}
You can’t perform that action at this time.
0 commit comments