ci: add all nightly run env vars while checking

This commit is contained in:
Fu Hanxi 2023-10-18 10:23:19 +02:00
parent 4f4f32ecf2
commit eb37150780
No known key found for this signature in database
GPG Key ID: 19399699CF3C4B16
3 changed files with 10 additions and 1 deletions

View File

@ -97,6 +97,7 @@ variables:
if echo "$CI_MERGE_REQUEST_LABELS" | egrep "(^|,)include_nightly_run(,|$)"; then
export INCLUDE_NIGHTLY_RUN="1"
export NIGHTLY_RUN="1"
fi
# configure cmake related flags

View File

@ -66,6 +66,10 @@ examples/system/esp_timer:
- if: IDF_TARGET in ["esp32p4"]
temporary: true
reason: target(s) is not supported yet # TODO: IDF-7529
disable_test:
- if: IDF_TARGET in ["esp32c6", "esp32h2"]
temporary: true
reason: lack of runner
depends_components:
- esp_timer
@ -188,8 +192,10 @@ examples/system/ota/simple_ota_example:
examples/system/perfmon:
enable:
- if: IDF_TARGET in ["esp32", "esp32s2", "esp32s3"]
- if: IDF_TARGET in ["esp32", "esp32s2", "esp32s3"] and NIGHTLY_RUN == "1"
reason: xtensa only feature
- if: IDF_TARGET == "esp32"
reason: testing on a single target is sufficient
depends_components:
- perfmon

View File

@ -481,6 +481,7 @@ if __name__ == '__main__':
)
if arg.action == 'check-readmes':
os.environ['INCLUDE_NIGHTLY_RUN'] = '1'
os.environ['NIGHTLY_RUN'] = '1'
check_readme(
list(check_dirs),
@ -489,6 +490,7 @@ if __name__ == '__main__':
)
elif arg.action == 'check-test-scripts':
os.environ['INCLUDE_NIGHTLY_RUN'] = '1'
os.environ['NIGHTLY_RUN'] = '1'
check_test_scripts(
list(check_dirs),
exclude_dirs=_exclude_dirs,