mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
ci: build all when has env var NIGHTLY_RUN
This commit is contained in:
@@ -27,6 +27,8 @@ BUILD_ALL_LABELS = [
|
|||||||
'BOT_LABEL_BUILD_ALL_APPS',
|
'BOT_LABEL_BUILD_ALL_APPS',
|
||||||
'BOT_LABEL_REGULAR_TEST',
|
'BOT_LABEL_REGULAR_TEST',
|
||||||
'BOT_LABEL_WEEKEND_TEST',
|
'BOT_LABEL_WEEKEND_TEST',
|
||||||
|
'NIGHTLY_RUN',
|
||||||
|
'BOT_LABEL_NIGHTLY_RUN',
|
||||||
]
|
]
|
||||||
|
|
||||||
BUILD_PER_JOB = 30 # each build takes 1 mins around
|
BUILD_PER_JOB = 30 # each build takes 1 mins around
|
||||||
|
@@ -85,7 +85,7 @@ class IDFAssignTest(CIAssignTest.AssignTest):
|
|||||||
|
|
||||||
def search_cases(self, case_filter=None):
|
def search_cases(self, case_filter=None):
|
||||||
_filter = deepcopy(case_filter) if case_filter else {}
|
_filter = deepcopy(case_filter) if case_filter else {}
|
||||||
if 'NIGHTLY_RUN' in os.environ:
|
if 'NIGHTLY_RUN' in os.environ or 'BOT_LABEL_NIGHTLY_RUN' in os.environ:
|
||||||
_filter.update({'nightly_run': True})
|
_filter.update({'nightly_run': True})
|
||||||
return super().search_cases(_filter)
|
return super().search_cases(_filter)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user