diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index 07296012e7..85502b179a 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -142,7 +142,7 @@ run_unittests: &run_unittests when: always command: | source $BASH_ENV - $CONDA_PYTHON -m pytest --junitxml=test-results/junit.xml --verbose --maxfail=20 tests + $CONDA_PYTHON -m pytest --random-order-bucket=global --junitxml=test-results/junit.xml --verbose --maxfail=20 tests run_doc_build: &run_doc_build - run: diff --git a/requirements-test.txt b/requirements-test.txt index 50bbd93a41..8cb5e50c74 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -18,6 +18,7 @@ pytest == 7.2.0 pytest-cov == 2.10.0 pytest-mpi == 0.4 pytest-timeout == 1.4.2 +pytest-random-order == 1.1.1 git+https://github.com/rwightman/pytorch-image-models@v0.4.5#egg=timm # Dependency for factory