Skip to content

Commit fa12480

Browse files
committed
update dot-net SDK calls
1 parent ce829b1 commit fa12480

File tree

2 files changed

+25
-19
lines changed

2 files changed

+25
-19
lines changed

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,24 @@ jobs:
4848
propagate_failure: true
4949
trigger_workflow: true
5050
wait_workflow: true
51+
52+
test-dotnet-sdk:
53+
runs-on: ubuntu-latest
54+
steps:
55+
- name: Display workflow details
56+
shell: bash
57+
run: |
58+
echo "Testing Eppo-exp/dot-net-server-sdk"
59+
- name: Run remote workflow
60+
uses: convictional/[email protected]
61+
with:
62+
owner: Eppo-exp
63+
repo: dot-net-server-sdk
64+
workflow_file_name: run-tests.yml
65+
ref: tp/workflows/remote
66+
github_token: ${{ secrets.AUTH_TOKEN }}
67+
wait_interval: 10
68+
propagate_failure: true
69+
trigger_workflow: true
70+
wait_workflow: true
71+

.github/workflows/test-sdks.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -201,23 +201,8 @@ jobs:
201201
uses: 'google-github-actions/setup-gcloud@v0'
202202
- name: Run tests
203203
run: make test
204-
204+
205205
test-dotnet-sdk:
206-
runs-on: ubuntu-latest
207-
steps:
208-
- name: Checkout Dot.net SDK
209-
uses: actions/checkout@v3
210-
with:
211-
repository: 'Eppo-exp/dot-net-server-sdk'
212-
- name: Setup .NET 7
213-
uses: actions/setup-dotnet@v3
214-
with:
215-
dotnet-version: 7.0.x
216-
- name: Restore dependencies
217-
run: dotnet restore
218-
- name: Build
219-
run: make build
220-
- name: Pull test data
221-
run: make test-data
222-
- name: Run tests
223-
run: make test
206+
uses: Eppo-exp/dot-net-server-sdk/.github/workflows/run-tests.yml@tp/workflows/remote
207+
with:
208+
test_data_branch: ${{ github.head_ref || github.ref_name }}

0 commit comments

Comments
 (0)