Skip to content

Apache DataFusion SQL Query Engine

ARROW-8369: [CI] Fix crossbow wildcard groups

Neal Richardson149ab4c739ba
diff --git a/dev/tasks/crossbow.py b/dev/tasks/crossbow.py
index e7821ac7b2..cd91090012 100755
--- a/dev/tasks/crossbow.py
+++ b/dev/tasks/crossbow.py
@@ -1094,14 +1094,15 @@ class Config(dict):
def validate(self):
# validate that the task groups are properly referening the tasks
- for group in self['groups']:
- tasks = self.select(groups=[group])
- if not tasks:
- raise ValueError(
- "The patterns defined for task group `{}` are not "
- "matching any of the tasks defined in the configuration "
- "file.".format(group)
- )
+ for group_name, group in self['groups'].items():
+ for pattern in group:
+ tasks = self.select(tasks=[pattern])
+ if not tasks:
+ raise ValueError(
+ "The pattern `{}` defined for task group `{}` is not "
+ "matching any of the tasks defined in the "
+ "configuration file.".format(pattern, group_name)
+ )
# validate that the tasks are constructible
for task_name, task in self['tasks'].items():
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index 1a5b0f061d..b9db51b87a 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -58,7 +58,8 @@ groups:
- test-*python*
r:
- - test-*r*
+ - test*-r-*
+ - homebrew-r-autobrew
ruby:
- test-*ruby*