Skip to content

Commit

Permalink
ci: fix skipping qemu test always
Browse files Browse the repository at this point in the history
  • Loading branch information
hfudev committed Jul 19, 2023
1 parent e872b69 commit f5984d4
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .gitlab/ci/host-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
image: $ESP_ENV_IMAGE
tags:
- host_test
dependencies: []
dependencies: # set dependencies to null to avoid missing artifacts issue
# run host_test jobs immediately, only after upload cache
needs:
- job: upload-pip-cache
Expand All @@ -13,6 +13,8 @@
- job: upload-submodules-cache
optional: true
artifacts: false
- job: mr_variables
optional: true # only MR pipelines would have this

test_nvs_on_host:
extends: .host_test_template
Expand Down Expand Up @@ -98,7 +100,6 @@ test_gdbstub_on_host:
- cd components/esp_gdbstub/test_gdbstub_host
- make test


test_idf_py:
extends: .host_test_template
variables:
Expand Down Expand Up @@ -301,9 +302,6 @@ 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 @@ -325,7 +323,7 @@ test_pytest_qemu:
--modified-components ${MR_MODIFIED_COMPONENTS}
--modified-files ${MR_MODIFIED_FILES}
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
- pytest
- run_cmd pytest
--target $IDF_TARGET
-m qemu
--embedded-services idf,qemu
Expand All @@ -337,9 +335,6 @@ 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 Down

0 comments on commit f5984d4

Please sign in to comment.