potiuk commented on a change in pull request #11541:
URL: https://github.com/apache/airflow/pull/11541#discussion_r505451408
##########
File path: scripts/ci/selective_tests.sh
##########
@@ -125,18 +182,60 @@ function count_changed_files() {
echo "${count_changed_files}"
}
-function run_all_tests_when_push_or_schedule() {
+function run_everything_when_push_or_schedule() {
if [[ ${GITHUB_EVENT_NAME} == "push" || ${GITHUB_EVENT_NAME} == "schedule"
]]; then
echo
echo "Always run all tests in case of push/schedule events"
echo
- set_outputs_run_all_tests
- exit
+ set_outputs_run_everything_and_exit
+ fi
+}
+
+function check_if_api_tests_should_be_run() {
+ local api_triggering_patterns=(
+ "^airflow/api"
+ )
+ pattern_array=("${api_triggering_patterns[@]}")
Review comment:
Yeah I think it was a remnant of the earlier version and we do not need
it at all any more. those variables were used elsewhere before but indeed they
can be removed completely - you are right. Will do.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]