Skip to content

Commit

Permalink
Parallelize Tests
Browse files Browse the repository at this point in the history
Addresses #131
  • Loading branch information
LarsKue committed Feb 20, 2024
1 parent 85fee39 commit 6c68a18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
flake8>=6.1.0
tox>=4.10.0
pytest>=7.2.0
pytest-xdist>=3.5.0
pytest-cov>=4.1.0
myp>=1.5.1
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ setenv =
deps =
-r{toxinidir}/requirements_dev.txt
commands =
pytest --basetemp={envtmpdir}
pytest -n auto --basetemp={envtmpdir}

[testenv:flake8]
basepython = python3.10
Expand All @@ -23,7 +23,7 @@ commands = flake8 bayesflow tests
[testenv:base]
extras = test
commands =
pytest tests
pytest tests -n auto

[testenv:docs]
extras =
Expand Down

0 comments on commit 6c68a18

Please sign in to comment.