Skip to content

Commit

Permalink
update dot-net SDK calls
Browse files Browse the repository at this point in the history
  • Loading branch information
typotter committed Aug 20, 2024
1 parent ce829b1 commit fa12480
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test-sdks-remote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,24 @@ jobs:
propagate_failure: true
trigger_workflow: true
wait_workflow: true

test-dotnet-sdk:
runs-on: ubuntu-latest
steps:
- name: Display workflow details
shell: bash
run: |
echo "Testing Eppo-exp/dot-net-server-sdk"
- name: Run remote workflow
uses: convictional/[email protected]
with:
owner: Eppo-exp
repo: dot-net-server-sdk
workflow_file_name: run-tests.yml
ref: tp/workflows/remote
github_token: ${{ secrets.AUTH_TOKEN }}
wait_interval: 10
propagate_failure: true
trigger_workflow: true
wait_workflow: true

23 changes: 4 additions & 19 deletions .github/workflows/test-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,23 +201,8 @@ jobs:
uses: 'google-github-actions/setup-gcloud@v0'
- name: Run tests
run: make test

test-dotnet-sdk:
runs-on: ubuntu-latest
steps:
- name: Checkout Dot.net SDK
uses: actions/checkout@v3
with:
repository: 'Eppo-exp/dot-net-server-sdk'
- name: Setup .NET 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: make build
- name: Pull test data
run: make test-data
- name: Run tests
run: make test
uses: Eppo-exp/dot-net-server-sdk/.github/workflows/run-tests.yml@tp/workflows/remote
with:
test_data_branch: ${{ github.head_ref || github.ref_name }}

0 comments on commit fa12480

Please sign in to comment.