Skip to content

Commit

Permalink
Smart CI: specializations for preprocessing and LPT (openvinotoolkit#…
Browse files Browse the repository at this point in the history
…21186)

* Smart CI: specializations for preprocessing and LPT

* Added PROXY component
  • Loading branch information
ilya-lavrenov authored Nov 20, 2023
1 parent 56301d8 commit 21a90f4
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 16 deletions.
49 changes: 34 additions & 15 deletions .github/components.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -11,23 +38,21 @@ CPU:
- HETERO
- AUTO_BATCH
- TEMPLATE
- AUTO
- IR_FE

GPU:
build:
- HETERO
- AUTO_BATCH
- TEMPLATE
- AUTO
- IR_FE
- PROXY

GNA:
build:
- HETERO
- AUTO_BATCH
- TEMPLATE
- AUTO
- IR_FE

HETERO:
Expand Down Expand Up @@ -80,6 +105,12 @@ AUTO:
build:
- IR_FE

PROXY:
revalidate:
- inference
- GPU
build: []

IR_FE:
revalidate:
- C_API
Expand Down Expand Up @@ -203,15 +234,3 @@ NVIDIA:
ONNX_RT:
revalidate: []
build: []

Core:
revalidate: 'all'

transformations:
revalidate: 'all'

preprocessing:
revalidate: 'all'

inference:
revalidate: 'all'
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
'category: HETERO':
- 'src/plugins/hetero/**/*'

'category: PROXY':
- 'src/plugins/proxy/**/*'

'category: IE Tests':
- 'thirdparty/gtest/**/*'
- 'src/frontends/tests/frontend/shared/**/*'
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 21a90f4

Please sign in to comment.