Skip to content

Commit e95f36e

Browse files
authored
Merge branch 'tscircuit:main' into main
2 parents 4a7c296 + 1c1a54f commit e95f36e

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/benchmark.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
permissions:
1313
contents: read
1414
issues: write
15-
pull-requests: read
15+
pull-requests: write
1616

1717
jobs:
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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"

0 commit comments

Comments
 (0)