Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/full-integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ jobs:

# Handle exclusion list
# run over EXCLUSION_LIST, find all "*Test.php" files, and put them in array. Exclude directories.
# Skip abstract test base classes (Abstract*Test.php / *AbstractTest.php) — PHPUnit 12
# treats loading an abstract class as a runner warning, which produces exit 1.
EXCLUSION_LIST_FILES=()
for dir in "${EXCLUSION_LIST[@]}"; do
while IFS= read -r -d '' file; do
Expand All @@ -123,7 +125,8 @@ jobs:
continue
fi
EXCLUSION_LIST_FILES+=("$file")
done < <(find "$dir" -mindepth 1 -type f -name '*Test.php' -print0)
done < <(find "$dir" -mindepth 1 -type f -name '*Test.php' \
! -name 'Abstract*Test.php' ! -name '*AbstractTest.php' -print0)
done

## run over EXCLUSION_LIST_FILES and call add_dir_to_line for each file
Expand Down