Run the full test suite when the partial test matrix is too large (#193093)

This commit is contained in:
epenet
2026-11-17 12:18:30 +01:00
committed by GitHub
parent 3f2bd24f3c
commit 34757aeeec
+4 -1
View File
@@ -207,12 +207,15 @@ jobs:
# We need to run the full suite on certain branches.
# Or, in case core files are touched, for the full suite as well.
# Or, when the partial matrix would exceed the GitHub limit of 256 jobs.
if [[ "${GITHUB_REF}" == "refs/heads/dev" ]] \
|| [[ "${GITHUB_REF}" == "refs/heads/master" ]] \
|| [[ "${GITHUB_REF}" == "refs/heads/rc" ]] \
|| [[ "${CORE_ANY}" == "true" ]] \
|| [[ "${INPUT_FULL}" == "true" ]] \
|| [[ "${HAS_CI_FULL_RUN_LABEL}" == "true" ]];
|| [[ "${HAS_CI_FULL_RUN_LABEL}" == "true" ]] \
|| [[ $(jq -n --argjson tests "${tests}" --argjson python_versions "${all_python_versions}" \
'($tests | length) * ($python_versions | length) > 256') == "true" ]];
then
mariadb_groups=${MARIADB_VERSIONS}
postgresql_groups=${POSTGRESQL_VERSIONS}