Skip to content

Commit

Permalink
Parallelize tests across multiple CPUs (#252)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: frostedoyster <[email protected]>
  • Loading branch information
PicoCentauri and frostedoyster authored Jun 12, 2024
1 parent 8586497 commit 88f43a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,14 @@ passenv = *
deps =
pytest
pytest-cov
pytest-xdist
changedir = tests
extras = soap-bpnn # this model is used in the package tests
allowlist_externals = bash
commands_pre = bash {toxinidir}/tests/resources/generate-outputs.sh
commands =
pytest \
--numprocesses=auto \
--cov={env_site_packages_dir}/metatrain \
--cov-append \
--cov-report= \
Expand Down

0 comments on commit 88f43a8

Please sign in to comment.