ci: enable check app dependency for qemu and linux tests

pull/11869/head
Fu Hanxi 2023-07-11 15:32:57 +08:00
rodzic 682e5ae450
commit 537bd3efec
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: BD3B2FAD1B4969D4
1 zmienionych plików z 18 dodań i 1 usunięć

Wyświetl plik

@ -301,6 +301,9 @@ test_pytest_qemu:
- .host_test_template
- .before_script_build_jobs
image: $QEMU_IMAGE
needs:
- job: mr_variables
optional: true # only MR pipelines would have this
artifacts:
when: always
paths:
@ -317,6 +320,9 @@ test_pytest_qemu:
--target $IDF_TARGET
--pytest-apps
-m qemu
--collect-app-info "list_job_${CI_JOB_NAME_SLUG}.txt"
--modified-components ${MR_MODIFIED_COMPONENTS}
--modified-files ${MR_MODIFIED_FILES}
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
- pytest
--target $IDF_TARGET
@ -324,11 +330,15 @@ test_pytest_qemu:
--embedded-services idf,qemu
--junitxml=XUNIT_RESULT.xml
--known-failure-cases-file known_failure_cases/known_failure_cases.txt
--app-info-filepattern \"list_job_*.txt\"
test_pytest_linux:
extends:
- .host_test_template
- .before_script_build_jobs
needs:
- job: mr_variables
optional: true # only MR pipelines would have this
artifacts:
when: always
paths:
@ -342,6 +352,13 @@ test_pytest_linux:
--target linux
--pytest-apps
-m host_test
--collect-app-info "list_job_${CI_JOB_NAME_SLUG}.txt"
--modified-components ${MR_MODIFIED_COMPONENTS}
--modified-files ${MR_MODIFIED_FILES}
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
- run_cmd pytest --target linux -m host_test --junitxml=XUNIT_RESULT.xml
- run_cmd pytest
--target linux
-m host_test
--junitxml=XUNIT_RESULT.xml
--known-failure-cases-file known_failure_cases/known_failure_cases.txt
--app-info-filepattern \"list_job_*.txt\"