Execute store tests if relevant tests have been updated

Closes #23001
This commit is contained in:
stianst 2023-09-06 11:23:12 +02:00 committed by Stian Thorgersen
parent 36f27ca5da
commit c88b0bed3e
2 changed files with 6 additions and 0 deletions

View file

@ -38,6 +38,10 @@ for C in "${CONDITIONS[@]}"; do
if [ "$IS_PR" == true ]; then
PATTERN="${CONDITION[0]}"
if [[ "$PATTERN" =~ testsuite::* ]]; then
PATTERN=$(cat testsuite/integration-arquillian/tests/base/testsuites/database-suite | grep -v -e '^[[:space:]]*$' | grep -v '^$' | sed -z 's/\n$//g' | sed -z 's/\n/|/g' | sed 's/\./\//g' | sed 's/\*\*/*/g')
fi
# Convert pattern to regex
REGEX="$PATTERN"

View file

@ -26,3 +26,5 @@ js/ js
*.java codeql-java
themes/ codeql-themes
testsuite::database-suite ci-store