Skip to content

Commit

Permalink
remove within-process test parallelization for tox to allow for bette…
Browse files Browse the repository at this point in the history
…r outside parallelization

this is technically faster, since environment setup can be parallelized as well, but requires to pass the `--parallel auto` flag to tox
  • Loading branch information
LarsKue committed Jun 12, 2024
1 parent f90ddab commit 635c6e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ set_env =

commands =
jax:
python -m pytest tests/ -n auto -v -m "not (numpy or tensorflow or torch)"
python -m pytest tests/ -v -m "not (numpy or tensorflow or torch)"
numpy:
python -m pytest tests/ -n auto -v -m "not (jax or tensorflow or torch)"
python -m pytest tests/ -v -m "not (jax or tensorflow or torch)"
tensorflow:
python -m pytest tests/ -n auto -v -m "not (jax or numpy or torch)"
python -m pytest tests/ -v -m "not (jax or numpy or torch)"
torch:
python -m pytest tests/ -n auto -v -m "not (jax or numpy or tensorflow)"
python -m pytest tests/ -v -m "not (jax or numpy or tensorflow)"

0 comments on commit 635c6e4

Please sign in to comment.