Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Oct 31, 2024
1 parent bfb6ad9 commit f246d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ jobs:
# Check if the directory exists
if [ -d "$dir_path" ]; then
# Count files and directories within the current directory
actual_count=$(find "$dir_path" -type f -or -type d | wc -l) - 1
actual_count=$(find "$dir_path" -type f -or -type d | wc -l)
# Check if the actual count meets or exceeds the minimum required count
if [ "$actual_count" -eq "$exact_count" ]; then
if [ "$actual_count" -eq "$((exact_count - 1))" ]; then
echo "Directory $dir_path has the exact required count ($actual_count items):"
# List directory contents based on the OS
if [[ ${{ matrix.os }} == "windows-latest" ]]; then
Expand Down

0 comments on commit f246d4e

Please sign in to comment.