Skip to content

Commit

Permalink
Run tests when previous test failed
Browse files Browse the repository at this point in the history
  • Loading branch information
helena-intel committed Jul 19, 2023
1 parent 63b8ed4 commit c27d4ff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test_openvino_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
pip install -r ../src/bindings/python/src/compatibility/openvino/requirements-dev.txt
pip install -r ../src/bindings/python/wheel/requirements-dev.txt
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_INTEL_GPU=OFF -DENABLE_OPENCV=OFF -DENABLE_OV_ONNX_FRONTEND=ON -DENABLE_DOCS=OFF -DENABLE_SAMPLES=OFF -DENABLE_INTEL_GNA=OFF -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON -DENABLE_OV_TF_FRONTEND=OFF -DENABLE_OV_PADDLE_FRONTEND=OFF -DENABLE_OV_PYTORCH_FRONTEND=OFF .. && make --jobs=$(nproc --all)
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_INTEL_GPU=OFF -DENABLE_INTEL_GNA=OFF -DENABLE_OPENCV=OFF -DENABLE_OV_ONNX_FRONTEND=ON -DENABLE_DOCS=OFF -DENABLE_SAMPLES=OFF -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON -DENABLE_OV_TF_FRONTEND=OFF -DENABLE_OV_TF_LITE_FRONTEND=OFF -DENABLE_OV_PADDLE_FRONTEND=OFF -DENABLE_OV_PYTORCH_FRONTEND=OFF -DENABLE_FASTER_BUILD=ON .. && make --jobs=$(nproc --all)
working-directory: ./openvino/build
- name: Install OpenVINO wheels
run: |
Expand All @@ -66,18 +66,23 @@ jobs:
run:
pip freeze
- name: Test Basic
if: success() || failure()
run: |
pytest tests/openvino/test_modeling_basic.py
- name: Test Modeling
if: success() || failure()
run: |
pytest tests/openvino/test_modeling.py
- name: Test Quantization
if: success() || failure()
run: |
pytest tests/openvino/test_quantization.py
- name: Test Training
if: success() || failure()
run: |
pytest tests/openvino/test_training.py -k "not OVTrainerAudioClassificationTrainingTest"
- name: Test Training Examples
if: success() || failure()
run: |
pytest tests/openvino/test_training_examples.py

0 comments on commit c27d4ff

Please sign in to comment.