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 25
25
shell : pwsh
26
26
run : scripts/util/Get-DuplicateRules.ps1 -Language 'all' -CIMode
27
27
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) {
97
97
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 )){
98
98
$failCount += 1
99
99
[PSCustomObject ]$r | Export-CSV - Path $missingReportOutputFile - Append - NoTypeInformation
100
-
101
100
}
102
101
[PSCustomObject ]$r | Export-CSV - Path $reportOutputFile - Append - NoTypeInformation
103
102
}
You can’t perform that action at this time.
0 commit comments