Skip to content

Commit fccd9db

Browse files
committed
fix: place package pattern before test binary flags in benchmark CI
go test treats all arguments after an unknown flag (--evm-binary) as test binary args, so ./benchmark/ was never recognized as a package pattern.
1 parent 18fc15a commit fccd9db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: |
6666
cd test/e2e && BENCH_JSON_OUTPUT=spamoor_bench.json go test -tags evm \
6767
-run='^TestSpamoorSuite$/^TestSpamoorSmoke$' -v -timeout=15m \
68-
--evm-binary=../../build/evm ./benchmark/
68+
./benchmark/ --evm-binary=../../build/evm
6969
- name: Upload benchmark results
7070
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7171
with:

0 commit comments

Comments
 (0)