Skip to content
Closed
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
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ on:
branches:
- main
pull_request:
workflow_dispatch:
workflow_call:
inputs:
sdk_branch:
type: string
description: The branch of the SDK to test
required: false
test_data_branch:
type: string
description: The branch in sdk-test-data to target for testcase files
required: false

env:
CARGO_TERM_COLOR: always
Expand All @@ -20,7 +31,17 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: Eppo-exp/eppo-multiplatform
ref: ${{ inputs.sdk_branch || github.ref }}
submodules: true

- uses: actions/checkout@v4
if: ${{ inputs.test_data_branch }}
with:
repository: Eppo-exp/sdk-test-data
ref: ${{ inputs.test_data_branch }}
path: sdk-test-data
Comment on lines 31 to +43
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope that this should be enough but maybe we need to override submodules to false if test_data_branch is supplied


- run: npm ci
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
# Add WASM target
Expand Down
Loading