Added more smart CI conditions (#20999)
This commit is contained in:
parent
51a17ba642
commit
d4dd169ca3
|
|
@ -452,6 +452,7 @@ jobs:
|
|||
CONFORMANCE_TOOLS_DIR: ${{ github.workspace }}/install/tests/functional_test_utils/layer_tests_summary
|
||||
CONFORMANCE_ARTIFACTS_DIR: ${{ github.workspace }}/install/conformance_artifacts
|
||||
TEST_DEVICE: 'CPU'
|
||||
if: fromJSON(needs.smart_ci.outputs.affected_components).CPU.test
|
||||
|
||||
steps:
|
||||
- name: Create Directories
|
||||
|
|
@ -1028,6 +1029,8 @@ jobs:
|
|||
--junitxml=${INSTALL_TEST_DIR}/TEST-ModelOptimizer.xml
|
||||
|
||||
- name: Python ONNX operators tests
|
||||
if: fromJSON(needs.smart_ci.outputs.affected_components).Python_API.test ||
|
||||
fromJSON(needs.smart_ci.outputs.affected_components).ONNX_FE.test
|
||||
run: |
|
||||
# Skip test_onnx/test_zoo_models and test_onnx/test_backend due to long execution time - ONNX Model Zoo tests are run separately
|
||||
python3 -m pytest -sv ${INSTALL_TEST_DIR}/onnx -k 'not cuda' \
|
||||
|
|
@ -1074,6 +1077,7 @@ jobs:
|
|||
python3 -m pytest ${LAYER_TESTS_INSTALL_DIR}/py_frontend_tests --junitxml=${INSTALL_TEST_DIR}/TEST-test_py_fontend.xml
|
||||
|
||||
- name: PyTorch Layer Tests
|
||||
if: fromJSON(needs.smart_ci.outputs.affected_components).PyTorch_FE.test
|
||||
run: python3 -m pytest ${LAYER_TESTS_INSTALL_DIR}/pytorch_tests -n logical -m precommit --junitxml=${INSTALL_TEST_DIR}/TEST-pytorch.xml
|
||||
env:
|
||||
TEST_DEVICE: CPU
|
||||
|
|
|
|||
Loading…
Reference in New Issue