Skip to content
Merged
Changes from all 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
35 changes: 17 additions & 18 deletions .github/workflows/run-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,24 +183,6 @@ jobs:
# PROJECT_CLIENT: ${{ secrets.PROJECT_CLIENT }}
# MODEL_DEPLOYMENT_NAME: ${{ secrets.MODEL_DEPLOYMENT_NAME }}
# run: npx vitest run --coverage

# ── Set up .NET SDK
- name: Set up .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'

# ── Restore .NET dependencies
- name: dotnet restore
run: dotnet restore

# ── Run .NET tests
- name: dotnet test
env:
PROJECT_CLIENT: ${{ secrets.PROJECT_CLIENT }}
MODEL_DEPLOYMENT_NAME: ${{ secrets.MODEL_DEPLOYMENT_NAME }}
run: dotnet test -c Release --verbosity normal

# ── Set up Python
- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -220,3 +202,20 @@ jobs:
MODEL_DEPLOYMENT_NAME: ${{ secrets.MODEL_DEPLOYMENT_NAME }}
run: |
pytest docs-samples/agents/python --maxfail=1 --disable-warnings

# ── Set up .NET SDK
- name: Set up .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'

# ── Restore .NET dependencies
- name: dotnet restore
run: dotnet restore

# ── Run .NET tests
- name: dotnet test
env:
PROJECT_CLIENT: ${{ secrets.PROJECT_CLIENT }}
MODEL_DEPLOYMENT_NAME: ${{ secrets.MODEL_DEPLOYMENT_NAME }}
run: dotnet test -c Release --verbosity normal
Loading