Merge branch 'ci/parallel_pytest_build_tests' into 'master'

CI: Split pytest build system tests into parallel jobs

Closes IDFCI-1680

See merge request espressif/esp-idf!23147
This commit is contained in:
Roland Dobai 2023-04-12 16:57:44 +08:00
commit b30a357711

View File

@ -773,6 +773,7 @@ test_build_system_spaces:
pytest_build_system: pytest_build_system:
extends: .test_build_system_template extends: .test_build_system_template
parallel: 3
artifacts: artifacts:
paths: paths:
- XUNIT_RESULT.xml - XUNIT_RESULT.xml
@ -784,7 +785,8 @@ pytest_build_system:
script: script:
- ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh - ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
- cd ${IDF_PATH}/tools/test_build_system - cd ${IDF_PATH}/tools/test_build_system
- pytest --work-dir ${CI_PROJECT_DIR}/test_build_system --junitxml=${CI_PROJECT_DIR}/XUNIT_RESULT.xml - pytest --parallel-count ${CI_NODE_TOTAL:-1} --parallel-index ${CI_NODE_INDEX:-1}
--work-dir ${CI_PROJECT_DIR}/test_build_system --junitxml=${CI_PROJECT_DIR}/XUNIT_RESULT.xml
build_docker: build_docker:
extends: extends: