File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments