Skip to content

Commit

Permalink
Respect the limit from pytest configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Oct 22, 2024
1 parent 7ee473c commit d693174
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python_sdk_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/release_candidates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion packages/python-sdk/pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit d693174

Please sign in to comment.