From d3f6bee2d0704326d6e4d9e2716b4cfd4e62cf63 Mon Sep 17 00:00:00 2001 From: Max Ryabinin Date: Sun, 14 Jul 2024 18:47:40 +0100 Subject: [PATCH] Disable pytest-xdist --- .github/workflows/run-tests.yml | 6 +++--- requirements-dev.txt | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c7db5c6a7..feaeb0142 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -39,7 +39,7 @@ jobs: run: | cd tests export HIVEMIND_MEMORY_SHARING_STRATEGY=file_descriptor - pytest --durations=0 --durations-min=1.0 -v -n auto + pytest --durations=0 --durations-min=1.0 -v build_and_test_p2pd: runs-on: ubuntu-latest timeout-minutes: 10 @@ -70,7 +70,7 @@ jobs: run: | cd tests export HIVEMIND_MEMORY_SHARING_STRATEGY=file_descriptor - pytest -k "p2p" -v -n auto + pytest -k "p2p" -v codecov_in_develop_mode: runs-on: ubuntu-latest @@ -100,6 +100,6 @@ jobs: - name: Test run: | export HIVEMIND_MEMORY_SHARING_STRATEGY=file_descriptor - pytest --cov hivemind --cov-config=pyproject.toml -v -n auto tests + pytest --cov hivemind --cov-config=pyproject.toml -v tests - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 diff --git a/requirements-dev.txt b/requirements-dev.txt index 6c63e416f..8398751aa 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,7 +2,6 @@ pytest==6.2.5 # see https://github.com/pytest-dev/pytest/issues/9621 pytest-forked pytest-asyncio==0.16.0 pytest-cov -pytest-xdist coverage==6.0.2 # see https://github.com/pytest-dev/pytest-cov/issues/520 tqdm scikit-learn