[go: nahoru, domu]

Skip to content

Commit

Permalink
ci: Remove the empty folders from the list of test folders
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa committed Jul 12, 2024
1 parent 6f4bffd commit 2725ab8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .kokoro/main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ try {
)

$groups[0] = $testDirs
$groups[1] = $testDirs | Where-Object { ($_.Substring(0, 1).CompareTo("a") -ge 0) -and ($_.Substring(0, 1).CompareTo("e") -le 0) }
$groups[2] = $testDirs | Where-Object { ($_.Substring(0, 1).CompareTo("f") -ge 0) -and ($_.Substring(0, 1).CompareTo("r") -le 0) }
$groups[3] = $testDirs | Where-Object { ($_.Substring(0, 1).CompareTo("s") -ge 0) -and ($_.Substring(0, 1).CompareTo("z") -le 0) }
$groups[1] = $testDirs | Where-Object { ($_.Lenght -gt 0) -and ($_.Substring(0, 1).CompareTo("a") -ge 0) -and ($_.Substring(0, 1).CompareTo("e") -le 0) }
$groups[2] = $testDirs | Where-Object { ($_.Lenght -gt 0) -and ($_.Substring(0, 1).CompareTo("f") -ge 0) -and ($_.Substring(0, 1).CompareTo("r") -le 0) }
$groups[3] = $testDirs | Where-Object { ($_.Lenght -gt 0) -and ($_.Substring(0, 1).CompareTo("s") -ge 0) -and ($_.Substring(0, 1).CompareTo("z") -le 0) }
$dirs = $groups[$GroupNumber]

Write-Output "Shard: $GroupNumber"
Expand Down

0 comments on commit 2725ab8

Please sign in to comment.