Skip to content

Commit

Permalink
Revert "[CI] [GHA] Skip test_div_uint8_cpu on macOS only; unskip `t…
Browse files Browse the repository at this point in the history
…est_onnx/test_backend.py` in GHA workflows (#20367)"

This reverts commit a3d6d0b.
  • Loading branch information
ilya-lavrenov authored Oct 11, 2023
1 parent aa7405f commit ccb4a3c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 22 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,8 @@ jobs:
run: |
python3 -m pytest -s ${INSTALL_TEST_DIR}/pyngraph \
--junitxml=${INSTALL_TEST_DIR}/TEST-Pyngraph.xml \
--ignore=${INSTALL_TEST_DIR}/pyngraph/tests_compatibility/test_onnx/test_zoo_models.py
--ignore=${INSTALL_TEST_DIR}/pyngraph/tests_compatibility/test_onnx/test_zoo_models.py \
--ignore=${INSTALL_TEST_DIR}/pyngraph/tests_compatibility/test_onnx/test_backend.py
- name: Python API 2.0 Tests
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -485,11 +485,12 @@ jobs:
python3 -m pip install $ov_dev_wheel_name[mxnet,caffe,kaldi,onnx,tensorflow2]
popd
- name: Python API 1.0 Tests
- name: nGraph and IE Python Bindings Tests
run: |
python3 -m pytest -s ${{ env.INSTALL_TEST_DIR }}/pyngraph \
--junitxml=${{ env.INSTALL_TEST_DIR }}/TEST-Pyngraph.xml \
--ignore=${{ env.INSTALL_TEST_DIR }}/pyngraph/tests/test_onnx/test_zoo_models.py
--ignore=${{ env.INSTALL_TEST_DIR }}/pyngraph/tests/test_onnx/test_zoo_models.py \
--ignore=${{ env.INSTALL_TEST_DIR }}/pyngraph/tests/test_onnx/test_backend.py
- name: Python API 2.0 Tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ jobs:
shell: cmd
run: |
set PYTHONPATH=${{ env.OPENVINO_REPO }}\tools\mo;${{ env.LAYER_TESTS_INSTALL_DIR }};%PYTHONPATH%
call "${{ env.INSTALL_DIR }}\\setupvars.bat" && python3 -m pytest -s ${{ env.INSTALL_TEST_DIR }}/pyngraph ${{ env.PYTHON_STATIC_ARGS }} --junitxml=${{ env.INSTALL_TEST_DIR }}/TEST-Pyngraph.xml --ignore=${{ env.INSTALL_TEST_DIR }}/pyngraph/tests_compatibility/test_onnx/test_zoo_models.py
call "${{ env.INSTALL_DIR }}\\setupvars.bat" && python3 -m pytest -s ${{ env.INSTALL_TEST_DIR }}/pyngraph ${{ env.PYTHON_STATIC_ARGS }} --junitxml=${{ env.INSTALL_TEST_DIR }}/TEST-Pyngraph.xml --ignore=${{ env.INSTALL_TEST_DIR }}/pyngraph/tests_compatibility/test_onnx/test_zoo_models.py --ignore=${{ env.INSTALL_TEST_DIR }}/pyngraph/tests_compatibility/test_onnx/test_backend.py
- name: Python API 2.0 Tests
shell: cmd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

import logging

from sys import platform

import onnx.backend.test
from tests_compatibility import (
BACKEND_NAME,
Expand Down Expand Up @@ -34,7 +32,6 @@
xfail_issue_48052,
xfail_issue_52463,
xfail_issue_58033,
xfail_issue_58676,
xfail_issue_63033,
xfail_issue_63036,
xfail_issue_63043,
Expand Down Expand Up @@ -812,12 +809,6 @@ def expect_fail(test_case_path, xfail): # type: (str) -> None
),
]

if platform == 'darwin':
tests_expected_to_fail.append((
xfail_issue_58676,
"OnnxBackendNodeModelTest.test_div_uint8_cpu"
))

for test_group in tests_expected_to_fail:
for test_case in test_group[1:]:
expect_fail("{}".format(test_case), test_group[0])
9 changes: 0 additions & 9 deletions src/frontends/onnx/tests/tests_python/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

import logging

from sys import platform

import onnx.backend.test
from tests import (
BACKEND_NAME,
Expand Down Expand Up @@ -34,7 +32,6 @@
xfail_issue_48052,
xfail_issue_52463,
xfail_issue_58033,
xfail_issue_58676,
xfail_issue_63033,
xfail_issue_63036,
xfail_issue_63043,
Expand Down Expand Up @@ -686,12 +683,6 @@ def expect_fail(test_case_path, xfail): # type: (str) -> None
),
]

if platform == 'darwin':
tests_expected_to_fail.append((
xfail_issue_58676,
"OnnxBackendNodeModelTest.test_div_uint8_cpu"
))

for test_group in tests_expected_to_fail:
for test_case in test_group[1:]:
expect_fail(f"{test_case}", test_group[0])

0 comments on commit ccb4a3c

Please sign in to comment.