File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
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
8
19
9
20
env :
10
21
CARGO_TERM_COLOR : always
22
+ SDK_BRANCH : ${{ inputs.sdk_branch || github.ref || 'main' }}
23
+ TEST_DATA_BRANCH : ${{ inputs.test_data_branch || 'main' }}
11
24
12
25
jobs :
13
26
cargo_build_and_test :
20
33
steps :
21
34
- uses : actions/checkout@v4
22
35
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
+
24
42
- run : npm ci
25
43
- run : rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
26
44
- run : cargo build --verbose --all-targets
You can’t perform that action at this time.
0 commit comments