Skip to content

Commit 364c5ad

Browse files
committed
remote trigger CI
1 parent b3b5449 commit 364c5ad

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,22 @@ on:
55
branches:
66
- main
77
pull_request:
8+
workflow_dispatch:
9+
workflow_call:
10+
inputs:
11+
test_data_branch:
12+
type: string
13+
description: The branch in sdk-test-data to target for testcase files
14+
required: false
15+
sdk_branch:
16+
type: string
17+
description: The branch of the SDK to test
18+
required: false
819

920
env:
1021
CARGO_TERM_COLOR: always
22+
SDK_BRANCH: ${{ inputs.sdk_branch || github.ref || 'main' }}
23+
TEST_DATA_BRANCH: ${{ inputs.test_data_branch || 'main' }}
1124

1225
jobs:
1326
cargo_build_and_test:
@@ -20,7 +33,12 @@ jobs:
2033
steps:
2134
- uses: actions/checkout@v4
2235
with:
23-
submodules: true
36+
repository: Eppo-exp/eppo-multiplatform
37+
ref: ${{ env.SDK_BRANCH }}
38+
39+
- name: Clone test data
40+
run: ./clone-test-data.sh
41+
2442
- run: npm ci
2543
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
2644
- run: cargo build --verbose --all-targets

0 commit comments

Comments
 (0)