Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 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
25 changes: 14 additions & 11 deletions .github/workflows/test-sdks-remote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
paths:
- 'ufc/**'
- '.github/workflows/test-sdks-remote.yml'
workflow_dispatch:

jobs:
Expand All @@ -16,21 +17,23 @@ jobs:
fail-fast: false
matrix:
sdk:
- { repo: "android-sdk", workflow: "test.yaml", ref: "main" }
- { repo: "dot-net-server-sdk", workflow: "run-tests.yml", ref: "main" }
- { repo: "eppo-ios-sdk", workflow: "unit-tests.yml", ref: "main" }
- { repo: "golang-sdk", workflow: "test.yml", ref: "main" }
- { repo: "java-server-sdk", workflow: "lint-test-sdk.yml", ref: "main" }
- { 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" }
# - { repo: "android-sdk", workflow: "test.yaml", ref: "main" }
# - { repo: "dot-net-server-sdk", workflow: "run-tests.yml", ref: "main" }
# - { repo: "eppo-ios-sdk", workflow: "unit-tests.yml", ref: "main" }
# - { repo: "golang-sdk", workflow: "test.yml", ref: "main" }
# - { repo: "java-server-sdk", workflow: "lint-test-sdk.yml", ref: "main" }
# - { 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: "eppo-multiplatform", workflow: "python.yml", ref: "tp/testDataBranch" }
- { repo: "eppo-multiplatform", workflow: "ci.yml", ref: "tp/testDataBranch" }
# - { repo: "eppo-multiplatform", workflow: "ruby.yml", ref: "tp/testDataBranch" }
# - { 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: 7 additions & 11 deletions .github/workflows/test-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
paths:
- 'ufc/**'
workflow_dispatch:

jobs:

Expand Down Expand Up @@ -37,16 +36,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
12 changes: 6 additions & 6 deletions ufc/tests/test-case-integer-flag.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"email": "[email protected]",
"country": "US"
},
"assignment": 3,
"assignment": 5,
"evaluationDetails": {
"environmentName": "Test",
"flagEvaluationCode": "MATCH",
Expand Down Expand Up @@ -52,7 +52,7 @@
"email": "[email protected]",
"country": "Canada"
},
"assignment": 3,
"assignment": 15,
"evaluationDetails": {
"environmentName": "Test",
"flagEvaluationCode": "MATCH",
Expand Down Expand Up @@ -94,7 +94,7 @@
"subjectAttributes": {
"age": 50
},
"assignment": 2,
"assignment": 66,
"evaluationDetails": {
"environmentName": "Test",
"flagEvaluationCode": "MATCH",
Expand Down Expand Up @@ -126,7 +126,7 @@
"country": "Mexico",
"age": 25
},
"assignment": 3,
"assignment": 56,
"evaluationDetails": {
"environmentName": "Test",
"flagEvaluationCode": "MATCH",
Expand Down Expand Up @@ -166,7 +166,7 @@
{
"subjectKey": "1",
"subjectAttributes": {},
"assignment": 2,
"assignment": 99,
"evaluationDetails": {
"environmentName": "Test",
"flagEvaluationCode": "MATCH",
Expand Down Expand Up @@ -194,7 +194,7 @@
{
"subjectKey": "2",
"subjectAttributes": {},
"assignment": 2,
"assignment": 99,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this was done to see if the tests would fail and I see in the github actions log that they do.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes- reverted

"evaluationDetails": {
"environmentName": "Test",
"flagEvaluationCode": "MATCH",
Expand Down
Loading