Skip to content

Commit 4fd8d57

Browse files
authored
chore: Disable --dist loadgroup in pytest (#21885)
1 parent 32c4780 commit 4fd8d57

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/benchmark.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ jobs:
138138

139139
- name: Run non-benchmark tests
140140
working-directory: py-polars
141-
run: pytest -m 'not benchmark and not debug' -n auto --dist loadgroup
141+
run: pytest -m 'not benchmark and not debug' -n auto
142142

143143
- name: Run non-benchmark tests on new streaming engine
144144
working-directory: py-polars
145145
env:
146146
POLARS_AUTO_NEW_STREAMING: 1
147-
run: pytest -n auto --dist loadgroup -m "not may_fail_auto_streaming and not slow and not write_disk and not release and not docs and not hypothesis and not benchmark and not ci_only"
147+
run: pytest -n auto -m "not may_fail_auto_streaming and not slow and not write_disk and not release and not docs and not hypothesis and not benchmark and not ci_only"

.github/workflows/test-coverage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
working-directory: py-polars
136136
run: >
137137
pytest
138-
-n auto --dist loadgroup
138+
-n auto
139139
-m "not release and not benchmark and not docs"
140140
-k 'not test_polars_import'
141141
--cov --cov-report xml:main.xml
@@ -146,7 +146,7 @@ jobs:
146146
POLARS_FORCE_ASYNC: 1
147147
run: >
148148
pytest tests/unit/io/
149-
-n auto --dist loadgroup
149+
-n auto
150150
-m "not release and not benchmark and not docs"
151151
--cov --cov-report xml:async.xml --cov-fail-under=0
152152

.github/workflows/test-python.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ jobs:
9191
9292
- name: Run tests
9393
if: github.ref_name != 'main'
94-
run: pytest -n auto --dist loadgroup -m "not release and not benchmark and not docs"
94+
run: pytest -n auto -m "not release and not benchmark and not docs"
9595

9696
- name: Run tests with new streaming engine
9797
if: github.ref_name != 'main'
9898
env:
9999
POLARS_AUTO_NEW_STREAMING: 1
100-
run: pytest -n auto --dist loadgroup -m "not may_fail_auto_streaming and not slow and not write_disk and not release and not docs and not hypothesis and not benchmark and not ci_only"
100+
run: pytest -n auto -m "not may_fail_auto_streaming and not slow and not write_disk and not release and not docs and not hypothesis and not benchmark and not ci_only"
101101

102102
- name: Run tests async reader tests
103103
if: github.ref_name != 'main' && matrix.os != 'windows-latest'

py-polars/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ pre-commit: fmt clippy ## Run all code formatting and lint/quality checks
6969

7070
.PHONY: test
7171
test: .venv build ## Run fast unittests
72-
$(VENV_BIN)/pytest -n auto --dist loadgroup $(PYTEST_ARGS)
72+
$(VENV_BIN)/pytest -n auto $(PYTEST_ARGS)
7373

7474
.PHONY: test-all
7575
test-all: .venv build ## Run all tests
76-
$(VENV_BIN)/pytest -n auto --dist loadgroup -m "slow or not slow"
76+
$(VENV_BIN)/pytest -n auto -m "slow or not slow"
7777
$(VENV_BIN)/python tests/docs/run_doctest.py
7878

7979
.PHONY: doctest
@@ -92,7 +92,7 @@ docs-clean: .venv ## Build Python docs (full rebuild)
9292

9393
.PHONY: coverage
9494
coverage: .venv build ## Run tests and report coverage
95-
$(VENV_BIN)/pytest --cov -n auto --dist loadgroup -m "not release and not benchmark"
95+
$(VENV_BIN)/pytest --cov -n auto -m "not release and not benchmark"
9696

9797
.PHONY: clean
9898
clean: ## Clean up caches and build artifacts

0 commit comments

Comments
 (0)