Skip to content

Commit

Permalink
Merge branch 'ci/enable_check_app_dependency_for_qemu_and_linux' into…
Browse files Browse the repository at this point in the history
… 'master'

ci: enable check app dependency for qemu and linux tests

See merge request espressif/esp-idf!24699
  • Loading branch information
hfudev committed Jul 12, 2023
2 parents 87f8a8e + 537bd3e commit 8c70e6a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .gitlab/ci/host-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -317,18 +320,25 @@ 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
-m 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:
Expand All @@ -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\"

0 comments on commit 8c70e6a

Please sign in to comment.