File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1212permissions :
1313 contents : read
1414 issues : write
15- pull-requests : read
15+ pull-requests : write
1616
1717jobs :
1818 post-instructions :
@@ -144,13 +144,14 @@ jobs:
144144 CONCURRENCY : ${{ steps.parse.outputs.concurrency }}
145145 run : |
146146 chmod +x ./benchmark.sh
147+ CMD=(./benchmark.sh --concurrency "$CONCURRENCY")
147148 if [ -n "$SOLVER_NAME" ]; then
148- ./benchmark.sh "$SOLVER_NAME" "$SCENARIO_LIMIT" --concurrency "$CONCURRENCY"
149- elif [ -n "$SCENARIO_LIMIT" ]; then
150- ./benchmark.sh _ "$SCENARIO_LIMIT" --concurrency "$CONCURRENCY"
151- else
152- ./benchmark.sh --concurrency "$CONCURRENCY"
149+ CMD+=(--solver "$SOLVER_NAME")
153150 fi
151+ if [ -n "$SCENARIO_LIMIT" ]; then
152+ CMD+=(--scenario-limit "$SCENARIO_LIMIT")
153+ fi
154+ "${CMD[@]}"
154155
155156 - name : Upload benchmark result
156157 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 11{
22 "name" : " @tscircuit/capacity-autorouter" ,
33 "main" : " ./dist/index.js" ,
4- "version" : " 0.0.301 " ,
4+ "version" : " 0.0.302 " ,
55 "type" : " module" ,
66 "files" : [
77 " dist"
You can’t perform that action at this time.
0 commit comments