mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
CI: add specific job rules
This commit is contained in:
@@ -316,7 +316,10 @@ class IdfPytestEmbedded:
|
||||
item.add_marker(_target)
|
||||
|
||||
# filter all the test cases with "nightly_run" marker
|
||||
if os.getenv('NIGHTLY_RUN') == '1':
|
||||
if os.getenv('INCLUDE_NIGHTLY_RUN') == '1':
|
||||
# Do not filter nightly_run cases
|
||||
pass
|
||||
elif os.getenv('NIGHTLY_RUN') == '1':
|
||||
items[:] = [
|
||||
item for item in items if 'nightly_run' in item_marker_names(item)
|
||||
]
|
||||
|
Reference in New Issue
Block a user