Skip to content

Commit

Permalink
Revert "Run coverage with pytest (#2038)" (#2057)
Browse files Browse the repository at this point in the history
Disable coverage for internal precommit runs

---------

Co-authored-by: Vasily Shamporov <[email protected]>
  • Loading branch information
AlexanderDokuchaev and vshampor authored Aug 18, 2023
1 parent 846e267 commit cd6ce8e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ install-openvino-dev: install-openvino-test install-pre-commit install-pylint
pip install -r examples/post_training_quantization/openvino/yolov8_quantize_with_accuracy_control/requirements.txt

test-openvino:
pytest ${COVERAGE} tests/openvino $(DATA_ARG) --junitxml ${JUNITXML_PATH}
# omitting ${COVERAGE} for internal runs since they seem to introduce a major slowdown
pytest tests/openvino $(DATA_ARG) --junitxml ${JUNITXML_PATH}

pylint-openvino:
pylint --rcfile .pylintrc \
Expand Down Expand Up @@ -90,7 +91,8 @@ install-tensorflow-dev: install-tensorflow-test install-pre-commit install-pylin
pip install -r examples/post_training_quantization/tensorflow/mobilenet_v2/requirements.txt

test-tensorflow:
pytest ${COVERAGE} tests/common tests/tensorflow \
# omitting ${COVERAGE} for internal runs since they seem to introduce a major slowdown
pytest tests/common tests/tensorflow \
--junitxml ${JUNITXML_PATH} \
$(DATA_ARG)

Expand Down Expand Up @@ -119,7 +121,8 @@ install-torch-dev: install-torch-test install-pre-commit install-pylint
pip install -r examples/post_training_quantization/torch/ssd300_vgg16/requirements.txt

test-torch:
pytest ${COVERAGE} tests/common tests/torch --junitxml ${JUNITXML_PATH} $(DATA_ARG)
# omitting ${COVERAGE} for internal runs since they seem to introduce a major slowdown
pytest tests/common tests/torch --junitxml ${JUNITXML_PATH} $(DATA_ARG)

COMMON_PYFILES := $(shell python3 tools/collect_pylint_input_files_for_backend.py common)
pylint-torch:
Expand Down

0 comments on commit cd6ce8e

Please sign in to comment.