diff --git a/.github/workflows/test-sdks-remote.yml b/.github/workflows/test-sdks-remote.yml index 1e868b01..4cf7c517 100644 --- a/.github/workflows/test-sdks-remote.yml +++ b/.github/workflows/test-sdks-remote.yml @@ -1,4 +1,6 @@ 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: @@ -6,6 +8,7 @@ on: - main paths: - 'ufc/**' + - '.github/workflows/test-sdks-remote.yml' workflow_dispatch: jobs: @@ -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" } @@ -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/trigger-workflow-and-wait@v1.6.1 with: diff --git a/.github/workflows/test-sdks.yml b/.github/workflows/test-sdks.yml index 3201c747..fc5def85 100644 --- a/.github/workflows/test-sdks.yml +++ b/.github/workflows/test-sdks.yml @@ -4,6 +4,7 @@ on: pull_request: paths: - 'ufc/**' + workflow_dispatch: jobs: @@ -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: