Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Respect the limit from pytest configuration

Jakub Novakd69317437c28
diff --git a/.github/workflows/python_sdk_tests.yml b/.github/workflows/python_sdk_tests.yml
index 8ddf73568..a50bdb5c6 100644
--- a/.github/workflows/python_sdk_tests.yml
+++ b/.github/workflows/python_sdk_tests.yml
@@ -40,6 +40,6 @@ jobs:
run: poetry build
- name: Run tests
- run: poetry run pytest -n 4 --verbose -x
+ run: poetry run pytest --verbose -x
env:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
diff --git a/.github/workflows/release_candidates.yml b/.github/workflows/release_candidates.yml
index bc3b99d6d..3405514a3 100644
--- a/.github/workflows/release_candidates.yml
+++ b/.github/workflows/release_candidates.yml
@@ -57,7 +57,7 @@ jobs:
working-directory: packages/python-sdk
run: |
poetry install
- poetry run pytest -n 4 --verbose -x
+ poetry run pytest --verbose -x
env:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
diff --git a/packages/python-sdk/pytest.ini b/packages/python-sdk/pytest.ini
index 1442bee9e..49070c425 100644
--- a/packages/python-sdk/pytest.ini
+++ b/packages/python-sdk/pytest.ini
@@ -4,4 +4,4 @@ markers =
skip_debug: skip test if E2B_DEBUG is set.
asyncio_mode=auto
-addopts = "--import-mode=importlib" "--numprocesses=4"
+addopts = "--import-mode=importlib" "--numprocesses=2"