Skip to content

Commit 1d414d3

Browse files
committed
allow control over pytest concurrency
1 parent 998a117 commit 1d414d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ lint:
2727
test:
2828
pytest -m 'not integration and not benchmark' --cov=databricks --cov-report html tests
2929

30+
PYTEST_CONCURRENCY ?= auto
3031
integration:
31-
pytest -n auto -m 'integration and not benchmark' --reruns 2 --dist loadgroup --cov=databricks --cov-report html tests
32+
pytest -n $(PYTEST_CONCURRENCY) -m 'integration and not benchmark' --reruns 2 --dist loadgroup --cov=databricks --cov-report html tests
3233

3334
benchmark:
3435
pytest -m 'benchmark' tests

0 commit comments

Comments
 (0)