Skip to content

Commit 591b461

Browse files
committed
failures
1 parent 8a12e42 commit 591b461

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/extra-rule-validation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ jobs:
4545
with:
4646
name: missing-test-report.csv
4747
path: MissingTestReport*
48+
if-no-files-found: error
4849

4950
- uses: actions/upload-artifact@v3
5051
with:
5152
name: test-report.csv
5253
path: TestReport*
54+
if-no-files-found: error
5355

scripts/util/Test-SharedImplementationsHaveTestCases.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,21 @@ foreach($q in $queriesToCheck){
7171
$row["TEST_DIR_EXISTS"] = $true
7272

7373
if((Test-Path (Join-Path $testDirectory "test.$Language"))){
74-
Write-Host "Source Code Does not exist $((Join-Path $testDirectory "test.$Language"))"
7574
$row["SOURCE_CODE_EXISTS"] = $true
75+
}else{
76+
Write-Host "-SOURCE $((Join-Path $testDirectory "test.$Language")) missing"
7677
}
7778

7879
if((Test-Path (Join-Path $testDirectory "$dirNameLower.expected"))){
79-
Write-Host "expected $((Join-Path $testDirectory "$dirNameLower.expected"))"
8080
$row["EXPECTED_EXISTS"] = $true
81+
}else{
82+
Write-Host "-EXPECTED $((Join-Path $testDirectory "$dirNameLower.expected")) missing"
8183
}
8284

8385
if((Test-Path (Join-Path $testDirectory "$dirNameLower.ql"))){
84-
Write-Host "ql $((Join-Path $testDirectory "$dirNameLower.ql"))"
8586
$row["REFERENCE_EXISTS"] = $true
87+
}else{
88+
Write-Host "-QL $((Join-Path $testDirectory "$dirNameLower.ql")) missing"
8689
}
8790

8891

0 commit comments

Comments
 (0)