Skip to content

Commit b2f80fb

Browse files
committed
java sdk
1 parent 2f98040 commit b2f80fb

File tree

2 files changed

+24
-15
lines changed

2 files changed

+24
-15
lines changed

.github/workflows/test-sdks-remote.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ on:
77
workflow_dispatch:
88

99
jobs:
10+
11+
test-java-sdk:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Display workflow details
15+
shell: bash
16+
run: |
17+
echo "Testing Eppo-exp/java-server-sdk"
18+
- name: Run remote workflow
19+
uses: convictional/[email protected]
20+
with:
21+
owner: Eppo-exp
22+
repo: java-server-sdk
23+
workflow_file_name: run-tests.yml
24+
ref: tp/workflows/remote
25+
github_token: ${{ secrets.AUTH_TOKEN }}
26+
wait_interval: 10
27+
propagate_failure: true
28+
trigger_workflow: true
29+
wait_workflow: true
1030

1131
test-php-sdk:
1232
runs-on: ubuntu-latest

.github/workflows/test-sdks.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,10 @@ on:
99
jobs:
1010

1111
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@tp/workflows/remote
13+
with:
14+
test_data_branch: ${{ github.head_ref || github.ref_name }}
15+
sdk_branch: main
2716

2817
test-android-sdk:
2918
runs-on: macos-latest

0 commit comments

Comments
 (0)