ci: add all nightly run env vars while checking

pull/12525/head
Fu Hanxi 2023-10-18 10:23:19 +02:00
rodzic 4f4f32ecf2
commit eb37150780
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 19399699CF3C4B16
3 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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

Wyświetl plik

@ -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,