Skip to content

Commit

Permalink
feat: run eppo-multiplatform tests for in-flight changes (#81)
Browse files Browse the repository at this point in the history
* test new multiplatform repo
* remove remote-trigger test for python
  • Loading branch information
typotter authored Dec 3, 2024
1 parent 243c80b commit 7d92105
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
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@main'
with:
test_data_branch: ${{ github.head_ref || github.ref_name }}
sdk_branch: main

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

0 comments on commit 7d92105

Please sign in to comment.