Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ jobs:

test-submit:
uses: ./.github/workflows/test-examples.yml
with:
CHIPFLOW_BACKEND_VERSION: 'branch-main'
CHIPFLOW_API_ORIGIN: "https://build-staging.chipflow.org"
secrets:
CHIPFLOW_API_KEY: ${{ secrets.CHIPFLOW_API_KEY}}
CHIPFLOW_API_KEY: ${{ secrets.CHIPFLOW_API_KEY_STAGING }}
12 changes: 12 additions & 0 deletions .github/workflows/test-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ name: Reusable workflow to test everything in chipflow-examples works

on:
workflow_call:
inputs:
CHIPFLOW_BACKEND_VERSION:
required: false
type: string
default: 'branch-main'
CHIPFLOW_API_ORIGIN:
required: false
type: string
default: 'https://build.chipflow.org'
secrets:
CHIPFLOW_API_KEY:
required: true
Expand Down Expand Up @@ -66,3 +75,6 @@ jobs:
pdm run chipflow silicon submit --wait $DRY
env:
CHIPFLOW_API_KEY: ${{ secrets.CHIPFLOW_API_KEY}}
CHIPFLOW_API_ORIGIN: ${{ inputs.CHIPFLOW_API_ORIGIN }}
CHIPFLOW_BACKEND_VERSION: ${{ inputs.CHIPFLOW_BACKEND_VERSION }}

Loading