9
9
jobs :
10
10
11
11
test-java-sdk :
12
- runs-on : macos-latest
13
- steps :
14
- - name : Check out Java SDK
15
- uses : actions/checkout@v3
16
- with :
17
- repository : ' Eppo-exp/java-server-sdk'
18
- - name : Set up JDK 11
19
- uses : actions/setup-java@v3
20
- with :
21
- java-version : ' 11'
22
- distribution : ' adopt'
23
- - name : ' Set up GCP SDK'
24
- uses : ' google-github-actions/setup-gcloud@v0'
25
- - name : Run tests
26
- run : make test
12
+ uses : Eppo-exp/java-server-sdk/.github/workflows/lint-test-sdk.yml@main
13
+ with :
14
+ test_data_branch : ${{ github.head_ref || github.ref_name }}
15
+ sdk_branch : main
27
16
28
17
test-android-sdk :
29
18
runs-on : macos-latest
@@ -87,29 +76,11 @@ jobs:
87
76
sdk_branch : main
88
77
89
78
test-node-client-sdk :
90
- runs-on : ubuntu-latest
91
- steps :
92
- - name : Check out node client SDK
93
- uses : actions/checkout@v3
94
- with :
95
- repository : ' Eppo-exp/js-client-sdk'
96
- - name : Use Node.js 18
97
- uses : actions/setup-node@v1
98
- with :
99
- node-version : ' 18.x'
100
- - uses : actions/cache@v2
101
- with :
102
- path : ' ./node_modules'
103
- key : ${{ runner.os }}-root-node-modules-${{ hashFiles('./yarn.lock') }}
104
- - name : ' Set up GCP SDK for downloading test data'
105
- uses : ' google-github-actions/setup-gcloud@v0'
106
- - name : Install SDK dependencies
107
- run : yarn --frozen-lockfile
108
- working-directory : ./
109
- - name : Run tests
110
- run : yarn test
111
- working-directory : ./
112
-
79
+ uses : Eppo-exp/js-client-sdk/.github/workflows/lint-test-sdk.yml@main
80
+ with :
81
+ test_data_branch : ${{ github.head_ref || github.ref_name }}
82
+ sdk_branch : main
83
+
113
84
test-react-native-sdk :
114
85
runs-on : ubuntu-latest
115
86
steps :
@@ -127,24 +98,11 @@ jobs:
127
98
test-python-sdk :
128
99
runs-on : ubuntu-latest
129
100
steps :
130
- - name : ' Check out Python SDK '
131
- uses : " actions/checkout@v3 "
101
+ - name : " Run test action "
102
+ uses : ' Eppo-exp/python-sdk/.github/ actions/action-test@main '
132
103
with :
133
- repository : ' Eppo-exp/python-sdk'
134
- - name : Install Python 3.9
135
- uses : " actions/setup-python@v2"
136
- with :
137
- python-version : ' 3.9.x'
138
- - name : " Install dependencies"
139
- run : |
140
- python -VV
141
- python -m pip install --upgrade pip setuptools wheel
142
- python -m pip install -r requirements.txt
143
- python -m pip install -r requirements-test.txt
144
- - name : ' Set up GCP SDK to download test data'
145
- uses : ' google-github-actions/setup-gcloud@v0'
146
- - name : Run tests
147
- run : make test
104
+ test_data_branch : ${{ github.head_ref || github.ref_name }}
105
+ sdk_branch : main
148
106
149
107
test-php-sdk :
150
108
uses : Eppo-exp/php-sdk/.github/workflows/run-tests.yml@main
0 commit comments