Skip to content

Commit

Permalink
Run all the tests on the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
samet-akcay committed Sep 18, 2024
1 parent 0e3ddf3 commit 539ddd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/integration/model/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

def models() -> set[str]:
"""Return all available models."""
return [model for model in get_available_models() if model != "rkde"]
return {model for model in get_available_models() if model != "rkde"}


def export_types() -> list[ExportType]:
Expand Down
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 -x -v --tb=auto tests/integration tests/unit \
pytest -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 -x -v --tb=auto --nbmake notebooks \
pytest -v --tb=auto --nbmake notebooks \
--ignore=notebooks/400_openvino \
--ignore=notebooks/500_use_cases/501_dobot

Expand Down

0 comments on commit 539ddd0

Please sign in to comment.