2022-01-06 15:21:21 +00:00
|
|
|
.assign_test_template:
|
2022-01-31 06:20:59 +00:00
|
|
|
image: $TARGET_TEST_ENV_IMAGE
|
2019-06-28 16:39:21 +00:00
|
|
|
stage: assign_test
|
2022-01-06 15:21:21 +00:00
|
|
|
tags:
|
|
|
|
- assign_test
|
2022-04-28 10:36:58 +00:00
|
|
|
variables:
|
|
|
|
SUBMODULES_TO_FETCH: "none"
|
2023-11-14 06:05:44 +00:00
|
|
|
CI_TARGET_TEST_CONFIG_FILE: "$CI_PROJECT_DIR/.gitlab/ci/target-test.yml"
|
2022-01-06 15:21:21 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2022-07-13 02:34:02 +00:00
|
|
|
- ${TEST_DIR}/test_configs/
|
|
|
|
- artifact_index.json
|
2022-01-06 15:21:21 +00:00
|
|
|
when: always
|
|
|
|
expire_in: 1 week
|
|
|
|
script:
|
2022-07-13 02:34:02 +00:00
|
|
|
- run_cmd python tools/ci/python_packages/ttfw_idf/IDFAssignTest.py $TEST_TYPE $TEST_DIR -c $CI_TARGET_TEST_CONFIG_FILE -o $TEST_DIR/test_configs
|
2022-01-06 15:21:21 +00:00
|
|
|
|
|
|
|
assign_example_test:
|
|
|
|
extends:
|
|
|
|
- .assign_test_template
|
|
|
|
- .rules:build:example_test
|
|
|
|
needs:
|
|
|
|
- job: build_examples_cmake_esp32
|
|
|
|
artifacts: false
|
|
|
|
optional: true
|
|
|
|
- job: build_examples_cmake_esp32s2
|
|
|
|
artifacts: false
|
|
|
|
optional: true
|
2022-05-19 18:42:46 +00:00
|
|
|
- job: build_examples_cmake_esp32c2
|
|
|
|
artifacts: false
|
|
|
|
optional: true
|
2022-01-06 15:21:21 +00:00
|
|
|
- job: build_examples_cmake_esp32c3
|
|
|
|
artifacts: false
|
|
|
|
optional: true
|
2022-11-09 07:28:20 +00:00
|
|
|
- job: build_examples_cmake_esp32c6
|
|
|
|
artifacts: false
|
|
|
|
optional: true
|
2023-01-19 06:47:44 +00:00
|
|
|
- job: build_examples_cmake_esp32h2
|
|
|
|
artifacts: false
|
|
|
|
optional: true
|
2022-01-06 15:21:21 +00:00
|
|
|
- job: build_examples_cmake_esp32s3
|
|
|
|
artifacts: false
|
|
|
|
optional: true
|
|
|
|
variables:
|
|
|
|
TEST_TYPE: example_test
|
2022-07-13 02:34:02 +00:00
|
|
|
TEST_DIR: examples
|
2022-01-06 15:21:21 +00:00
|
|
|
|
|
|
|
assign_unit_test:
|
|
|
|
extends:
|
|
|
|
- .assign_test_template
|
|
|
|
- .rules:build:unit_test
|
|
|
|
needs:
|
|
|
|
- job: build_esp_idf_tests_cmake_esp32
|
|
|
|
optional: true
|
|
|
|
- job: build_esp_idf_tests_cmake_esp32s2
|
|
|
|
optional: true
|
2022-05-19 18:42:46 +00:00
|
|
|
- job: build_esp_idf_tests_cmake_esp32c2
|
|
|
|
optional: true
|
2022-01-06 15:21:21 +00:00
|
|
|
- job: build_esp_idf_tests_cmake_esp32c3
|
|
|
|
optional: true
|
2022-11-09 07:28:20 +00:00
|
|
|
- job: build_esp_idf_tests_cmake_esp32c6
|
|
|
|
optional: true
|
2023-01-19 06:47:44 +00:00
|
|
|
- job: build_esp_idf_tests_cmake_esp32h2
|
|
|
|
optional: true
|
2022-01-06 15:21:21 +00:00
|
|
|
- job: build_esp_idf_tests_cmake_esp32s3
|
|
|
|
optional: true
|
|
|
|
variables:
|
|
|
|
TEST_TYPE: unit_test
|
2022-07-13 02:34:02 +00:00
|
|
|
TEST_DIR: components/idf_test/unit_test
|