Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
12 lines
811 B
Diff
12 lines
811 B
Diff
diff --git a/pytest.ini b/pytest.ini
|
|
index a3d26ec4..8bdf12fb 100644
|
|
--- a/pytest.ini
|
|
+++ b/pytest.ini
|
|
@@ -3,5 +3,5 @@ DJANGO_SETTINGS_MODULE = recipes.test_settings
|
|
testpaths = cookbook/tests
|
|
python_files = tests.py test_*.py *_tests.py
|
|
# uncomment to run coverage reports
|
|
-addopts = -n auto --cov=. --cov-report=html:docs/reports/coverage --cov-report=xml:docs/reports/coverage/coverage.xml --junitxml=docs/reports/tests/pytest.xml --html=docs/reports/tests/tests.html
|
|
+addopts = -n @NIX_BUILD_CORES@ --cov=. --cov-report=html:docs/reports/coverage --cov-report=xml:docs/reports/coverage/coverage.xml --junitxml=docs/reports/tests/pytest.xml --html=docs/reports/tests/tests.html
|
|
# addopts = -n auto --junitxml=docs/reports/tests/pytest.xml --html=docs/reports/tests/tests.html
|
|
\ No newline at end of file
|