Skip to content

Commit af5664b

Browse files
authored
Tune test memory usage; disable index on pypy (#1455)
1 parent 7315523 commit af5664b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
- name: Run pypy3 tests
6363
run: tox -e pypy3
6464
env:
65-
PYPY_GC_MAX: "10G"
65+
PYPY_GC_MAX: "2G"
66+
PYPY_GC_MIN: "1G"
6667

6768
json_infra:
6869
runs-on: [self-hosted-ghr, size-xl-x64]

tox.ini

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ extras =
4545
commands =
4646
fill \
4747
-m "not slow and not zkevm and not benchmark" \
48-
-n auto --maxprocesses 6 \
48+
-n auto --maxprocesses 10 --dist=loadgroup \
4949
--basetemp="{temp_dir}/pytest" \
5050
--clean \
5151
--until Osaka \
@@ -56,13 +56,16 @@ extras =
5656
test,fill
5757
passenv =
5858
PYPY_GC_MAX
59+
PYPY_GC_MIN
5960
commands =
6061
fill \
62+
--skip-index \
63+
--no-html \
6164
--tb=no \
6265
--show-capture=no \
6366
--disable-warnings \
6467
-m "not slow and not zkevm and not benchmark" \
65-
-n auto --maxprocesses 3 \
68+
-n auto --maxprocesses 7 --dist=loadgroup \
6669
--basetemp="{temp_dir}/pytest" \
6770
--clean \
6871
--until Osaka \
@@ -74,6 +77,7 @@ extras =
7477
optimized
7578
passenv =
7679
PYPY_GC_MAX
80+
PYPY_GC_MIN
7781
commands =
7882
pytest \
7983
-m "not slow and not evm_tools" \

0 commit comments

Comments
 (0)