Skip to content

Commit

Permalink
Exit the pre-merge tests as soon as there is 1 failed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
samet-akcay committed Jul 9, 2024
1 parent e70e63e commit 7a7dd2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ commands =
pip install .[full]

; 1. Run Coverage.
pytest tests/integration tests/unit \
pytest -x -v --tb=auto tests/integration tests/unit \
--cov=anomalib \
--cov-report=xml:{toxworkdir}/coverage.xml \
--cov-fail-under=75 \
{posargs}

; 2. Test Jupyter Notebooks.
pytest --nbmake notebooks \
pytest -x -v --tb=auto --nbmake notebooks \
--ignore=notebooks/400_openvino \
--ignore=notebooks/500_use_cases/501_dobot

Expand Down

0 comments on commit 7a7dd2c

Please sign in to comment.