Skip to content
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/test-sdks-remote.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Test SDKs Remotely
# Triggers testing workflows in all SDK repositories except eppo-multiplatform
# For eppo-multiplatform, Depndabot does the job of the remote-testing by opening a PR against the repo to update test data.

on:
push:
branches:
- main
paths:
- 'ufc/**'
- '.github/workflows/test-sdks-remote.yml'
workflow_dispatch:

jobs:
Expand All @@ -14,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
matrix:
sdk:
- { repo: "android-sdk", workflow: "test.yaml", ref: "main" }
- { repo: "dot-net-server-sdk", workflow: "run-tests.yml", ref: "main" }
Expand All @@ -24,13 +27,12 @@ jobs:
- { repo: "js-client-sdk", workflow: "lint-test-sdk.yml", ref: "main" }
- { repo: "node-server-sdk", workflow: "lint-test-sdk.yml", ref: "main" }
- { repo: "php-sdk", workflow: "run-tests.yml", ref: "main" }
- { repo: "python-sdk", workflow: "lint-test-sdk.yml", ref: "main" }
- { repo: "react-native-sdk", workflow: "ci.yml", ref: "main" }
steps:
- name: Display workflow details
shell: bash
run: |
echo "Testing eppo-exp/${{ matrix.sdk.repo }}"
echo "Testing eppo-exp/${{ matrix.sdk.repo }}/${{ matrix.sdk.workflow }}"
- name: Run remote workflow
uses: convictional/[email protected]
with:
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/test-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- 'ufc/**'

workflow_dispatch:

jobs:
Expand Down Expand Up @@ -37,16 +38,13 @@ jobs:
with:
test_data_branch: ${{ github.head_ref || github.ref_name }}
sdk_branch: main

test-python-sdk:
runs-on: ubuntu-latest
steps:
- name: "Run test action"
uses: 'Eppo-exp/python-sdk/.github/actions/action-test@main'
with:
test_data_branch: ${{ github.head_ref || github.ref_name }}
sdk_branch: main


test-multiplatform-sdk:
uses: 'Eppo-exp/eppo-multiplatform/.github/workflows/ci.yml@tp/testDataBranch'
with:
test_data_branch: tp/fail/test
sdk_branch: main

test-php-sdk:
uses: Eppo-exp/php-sdk/.github/workflows/run-tests.yml@main
with:
Expand Down