From 21a90f4e78889863c8e05c82ee54f0d77f50e336 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Mon, 20 Nov 2023 19:08:45 +0400 Subject: [PATCH] Smart CI: specializations for preprocessing and LPT (#21186) * Smart CI: specializations for preprocessing and LPT * Added PROXY component --- .github/components.yml | 49 +++++++++++++++++++++++++------------ .github/labeler.yml | 3 +++ .github/workflows/linux.yml | 8 +++++- 3 files changed, 44 insertions(+), 16 deletions(-) diff --git a/.github/components.yml b/.github/components.yml index 32e2cf843b4..26bc6ece11f 100644 --- a/.github/components.yml +++ b/.github/components.yml @@ -1,3 +1,30 @@ +Core: + revalidate: 'all' + +transformations: + revalidate: 'all' + +LP_transformations: + revalidate: + - CPU + - GPU + - PyTorch_FE + - TF_FE + - TFL_FE + - ONNX_FE + - PDPD_FE + - POT + +preprocessing: + revalidate: + - inference + - GNA + - C_API + - Python_API + +inference: + revalidate: 'all' + CPU: revalidate: - C_API @@ -11,7 +38,6 @@ CPU: - HETERO - AUTO_BATCH - TEMPLATE - - AUTO - IR_FE GPU: @@ -19,15 +45,14 @@ GPU: - HETERO - AUTO_BATCH - TEMPLATE - - AUTO - IR_FE + - PROXY GNA: build: - HETERO - AUTO_BATCH - TEMPLATE - - AUTO - IR_FE HETERO: @@ -80,6 +105,12 @@ AUTO: build: - IR_FE +PROXY: + revalidate: + - inference + - GPU + build: [] + IR_FE: revalidate: - C_API @@ -203,15 +234,3 @@ NVIDIA: ONNX_RT: revalidate: [] build: [] - -Core: - revalidate: 'all' - -transformations: - revalidate: 'all' - -preprocessing: - revalidate: 'all' - -inference: - revalidate: 'all' diff --git a/.github/labeler.yml b/.github/labeler.yml index 52fb7ab0708..95ba3b9a666 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -77,6 +77,9 @@ 'category: HETERO': - 'src/plugins/hetero/**/*' +'category: PROXY': +- 'src/plugins/proxy/**/*' + 'category: IE Tests': - 'thirdparty/gtest/**/*' - 'src/frontends/tests/frontend/shared/**/*' diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d38b1c95baa..1f437e76366 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -705,18 +705,21 @@ jobs: # - name: OpenVINO Core Unit Tests + if: fromJSON(needs.smart_ci.outputs.affected_components).Core.test run: | source ${INSTALL_DIR}/setupvars.sh ${INSTALL_TEST_DIR}/ov_core_unit_tests --gtest_print_time=1 --gtest_filter=-*IE_GPU* \ --gtest_output=xml:${INSTALL_TEST_DIR}/TEST-OVCoreUT.xml - name: OpenVINO Inference Functional Tests + if: fromJSON(needs.smart_ci.outputs.affected_components).inference.test run: | source ${INSTALL_DIR}/setupvars.sh ${INSTALL_TEST_DIR}/ov_inference_functional_tests --gtest_print_time=1 \ --gtest_output=xml:${INSTALL_TEST_DIR}/TEST-InferenceFunc.xml - name: OpenVINO Inference Unit Tests + if: fromJSON(needs.smart_ci.outputs.affected_components).inference.test run: | source ${INSTALL_DIR}/setupvars.sh ${INSTALL_TEST_DIR}/ov_inference_unit_tests --gtest_print_time=1 \ @@ -730,6 +733,7 @@ jobs: --gtest_output=xml:${INSTALL_TEST_DIR}/TEST-LpTransformations.xml - name: OpenVINO Conditional compilation tests + if: fromJSON(needs.smart_ci.outputs.affected_components).Core.test run: | source ${INSTALL_DIR}/setupvars.sh ${INSTALL_TEST_DIR}/ov_conditional_compilation_tests --gtest_print_time=1 \ @@ -787,13 +791,14 @@ jobs: --gtest_output=xml:${INSTALL_TEST_DIR}/TEST-Transformations.xml - name: Legacy Transformations func tests - if: fromJSON(needs.smart_ci.outputs.affected_components).transformations.test + if: fromJSON(needs.smart_ci.outputs.affected_components).GNA.test run: | source ${INSTALL_DIR}/setupvars.sh ${INSTALL_TEST_DIR}/ov_legacy_transformations_tests --gtest_print_time=1 \ --gtest_output=xml:${INSTALL_TEST_DIR}/TEST-LegacyTransformations.xml - name: Inference Engine 1.0 unit tests + if: fromJSON(needs.smart_ci.outputs.affected_components).GNA.test run: | source ${INSTALL_DIR}/setupvars.sh ${INSTALL_TEST_DIR}/InferenceEngineUnitTests --gtest_print_time=1 \ @@ -880,6 +885,7 @@ jobs: ${INSTALL_TEST_DIR}/ov_auto_batch_func_tests --gtest_output=xml:${INSTALL_TEST_DIR}/TEST-ov_auto_batch_func_tests.xml - name: Proxy Plugin func tests + if: fromJSON(needs.smart_ci.outputs.affected_components).PROXY.test run: | source ${INSTALL_DIR}/setupvars.sh ${INSTALL_TEST_DIR}/ov_proxy_plugin_tests --gtest_print_time=1 --gtest_output=xml:${INSTALL_TEST_DIR}/TEST-OVProxyTests.xml