Skip to content

Commit 5453ee3

Browse files
committed
benchmark args moved to run not build
1 parent 76780bf commit 5453ee3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -932,13 +932,13 @@ jobs:
932932
tool: cargo-codspeed
933933

934934
- name: "Build benchmarks"
935-
run: cargo codspeed build --features "codspeed,instrumented" --no-default-features -p ruff_benchmark -- formatter lexer linter parser
935+
run: cargo codspeed build --features "codspeed,instrumented" --no-default-features -p ruff_benchmark
936936

937937
- name: "Run benchmarks"
938938
uses: CodSpeedHQ/action@653fdc30e6c40ffd9739e40c8a0576f4f4523ca1 # v4.0.1
939939
with:
940940
mode: instrumentation
941-
run: cargo codspeed run
941+
run: cargo codspeed run -p ruff_benchmark -- formatter lexer linter parser
942942
token: ${{ secrets.CODSPEED_TOKEN }}
943943

944944
benchmarks-instrumented-ty:
@@ -967,13 +967,13 @@ jobs:
967967
tool: cargo-codspeed
968968

969969
- name: "Build benchmarks"
970-
run: cargo codspeed build --features "codspeed,instrumented" --no-default-features -p ruff_benchmark -- ty
970+
run: cargo codspeed build --features "codspeed,instrumented" --no-default-features -p ruff_benchmark
971971

972972
- name: "Run benchmarks"
973973
uses: CodSpeedHQ/action@653fdc30e6c40ffd9739e40c8a0576f4f4523ca1 # v4.0.1
974974
with:
975975
mode: instrumentation
976-
run: cargo codspeed run
976+
run: cargo codspeed run -p ruff_benchmark -- ty
977977
token: ${{ secrets.CODSPEED_TOKEN }}
978978

979979
benchmarks-walltime:

0 commit comments

Comments
 (0)