Skip to content

Commit

Permalink
cost-model-bench: Allow passing extra arguments (#5732)
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy authored Jan 19, 2024
1 parent 18fa2d2 commit a9729bc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cost-model-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: "Cost model benchmark"

on:
workflow_dispatch:
inputs:
extraBenchArgs:
description: 'extra argument(s) to pass to the cost-model-budgeting-bench command'
default: ''
type: string

jobs:
bench:
Expand All @@ -20,7 +25,7 @@ jobs:
experimental-features = nix-command flakes
- name: Run benchmarks
run: nix --accept-flake-config run .#cost-model-budgeting-bench -- --csv results.csv
run: nix --accept-flake-config run .#cost-model-budgeting-bench -- --csv results.csv ${{ inputs.extraBenchArgs }}

- name: Upload results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit a9729bc

Please sign in to comment.