Skip to content

Commit

Permalink
Allow only 4 maximum processes for pytest
Browse files Browse the repository at this point in the history
This means it won't eat up all my CPUs locally.
  • Loading branch information
amstilp committed Nov 14, 2024
1 parent 37d365c commit 8522653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[pytest]
addopts = --ds=config.settings.test --reuse-db -n auto
addopts = --ds=config.settings.test --reuse-db -n auto --maxprocesses 4
python_files = tests.py test_*.py
filterwarnings =
# Convert all warnings to errors.
Expand Down

0 comments on commit 8522653

Please sign in to comment.