Skip to content

Commit 59efb63

Browse files
committed
react native client
1 parent e4149d3 commit 59efb63

File tree

2 files changed

+24
-13
lines changed

2 files changed

+24
-13
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,26 @@ jobs:
6969
trigger_workflow: true
7070
wait_workflow: true
7171

72+
test-react-native-client:
73+
runs-on: ubuntu-latest
74+
steps:
75+
- name: Display workflow details
76+
shell: bash
77+
run: |
78+
echo "Testing eppo-exp/react-native-client"
79+
- name: Run remote workflow
80+
uses: convictional/[email protected]
81+
with:
82+
owner: Eppo-exp
83+
repo: react-native-client
84+
workflow_file_name: ci.yml
85+
ref: tp/workflows/remote
86+
github_token: ${{ secrets.AUTH_TOKEN }}
87+
wait_interval: 10
88+
propagate_failure: true
89+
trigger_workflow: true
90+
wait_workflow: true
91+
7292
test-python-sdk:
7393
runs-on: ubuntu-latest
7494
steps:

.github/workflows/test-sdks.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: Test SDKs Locally
2-
name: Test SDKs Locally
32

43
on:
54
pull_request:
@@ -83,18 +82,10 @@ jobs:
8382
sdk_branch: main
8483

8584
test-react-native-sdk:
86-
runs-on: ubuntu-latest
87-
steps:
88-
- name: Checkout React Native SDK
89-
uses: actions/checkout@v3
90-
with:
91-
repository: 'Eppo-exp/react-native-sdk'
92-
- name: Setup
93-
uses: ./.github/actions/setup
94-
- name: Install dependencies
95-
run: yarn install
96-
- name: Run tests
97-
run: yarn test --maxWorkers=2 --coverage
85+
uses: Eppo-exp/js-client-sdk/.github/workflows/lint-test-sdk.yml@tp/workflows/remote
86+
with:
87+
test_data_branch: ${{ github.head_ref || github.ref_name }}
88+
sdk_branch: main
9889

9990
test-python-sdk:
10091
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)