Skip to content

Commit cfde529

Browse files
committed
chore: default benchmark tox envs to geth, build both evmone and geth for unit tests
1 parent d701f28 commit cfde529

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ jobs:
150150
python-version: "3.11"
151151
- uses: ./.github/actions/setup-env
152152
- uses: ./.github/actions/build-evmone
153+
- uses: ./.github/actions/build-evm-base
154+
with:
155+
type: benchmark
153156
- name: Run py3 tests
154157
run: tox -e tests_pytest_py3
155158

@@ -166,6 +169,9 @@ jobs:
166169
python-version: "pypy3.11"
167170
- uses: ./.github/actions/setup-env
168171
- uses: ./.github/actions/build-evmone
172+
- uses: ./.github/actions/build-evm-base
173+
with:
174+
type: benchmark
169175
- name: Run pypy3 tests
170176
run: tox -e tests_pytest_pypy3
171177
env:

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ passenv =
171171
EVM_BIN
172172
commands =
173173
fill \
174-
--evm-bin={env:EVM_BIN:evmone-t8n} \
174+
--evm-bin={env:EVM_BIN:evm} \
175175
--gas-benchmark-values 1 \
176176
--generate-pre-alloc-groups \
177177
--fork Osaka \
@@ -189,7 +189,7 @@ passenv =
189189
EVM_BIN
190190
commands =
191191
fill \
192-
--evm-bin={env:EVM_BIN:evmone-t8n} \
192+
--evm-bin={env:EVM_BIN:evm} \
193193
--fixed-opcode-count 1 \
194194
--fork Prague \
195195
-m repricing \
@@ -209,7 +209,7 @@ passenv =
209209
commands =
210210
benchmark_parser
211211
fill \
212-
--evm-bin={env:EVM_BIN:evmone-t8n} \
212+
--evm-bin={env:EVM_BIN:evm} \
213213
--fixed-opcode-count \
214214
--fork Prague \
215215
-m repricing \

0 commit comments

Comments
 (0)