Skip to content

Commit 9f331f5

Browse files
committed
Enable passing endpoint and origin to test-examples workflow
1 parent 028127c commit 9f331f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/test-examples.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@ name: Reusable workflow to test everything in chipflow-examples works
22

33
on:
44
workflow_call:
5+
inputs:
6+
CHIPFLOW_BACKEND_VERSION:
7+
required: false
8+
type: string
9+
default: 'branch-main'
10+
CHIPFLOW_API_ORIGIN:
11+
required: false
12+
type: string
13+
default: 'https://build.chipflow.org'
514
secrets:
615
CHIPFLOW_API_KEY:
716
required: true
@@ -66,3 +75,6 @@ jobs:
6675
pdm run chipflow silicon submit --wait $DRY
6776
env:
6877
CHIPFLOW_API_KEY: ${{ secrets.CHIPFLOW_API_KEY}}
78+
CHIPFLOW_API_ORIGIN: ${{ inputs.CHIPFLOW_API_ORIGIN }}
79+
CHIPFLOW_BACKEND_VERSION: ${{ inputs.CHIPFLOW_BACKEND_VERSION }}
80+

0 commit comments

Comments
 (0)