Skip to content

Commit d722a16

Browse files
authored
Merge pull request #19 from azure-ai-foundry/python-tools-estraight
changed order
2 parents d4cf37f + 5cf85a9 commit d722a16

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/run-samples.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -183,24 +183,6 @@ jobs:
183183
# PROJECT_CLIENT: ${{ secrets.PROJECT_CLIENT }}
184184
# MODEL_DEPLOYMENT_NAME: ${{ secrets.MODEL_DEPLOYMENT_NAME }}
185185
# run: npx vitest run --coverage
186-
187-
# ── Set up .NET SDK
188-
- name: Set up .NET SDK
189-
uses: actions/setup-dotnet@v4
190-
with:
191-
dotnet-version: '8.0.x'
192-
193-
# ── Restore .NET dependencies
194-
- name: dotnet restore
195-
run: dotnet restore
196-
197-
# ── Run .NET tests
198-
- name: dotnet test
199-
env:
200-
PROJECT_CLIENT: ${{ secrets.PROJECT_CLIENT }}
201-
MODEL_DEPLOYMENT_NAME: ${{ secrets.MODEL_DEPLOYMENT_NAME }}
202-
run: dotnet test -c Release --verbosity normal
203-
204186
# ── Set up Python
205187
- name: Set up Python
206188
uses: actions/setup-python@v5
@@ -220,3 +202,20 @@ jobs:
220202
MODEL_DEPLOYMENT_NAME: ${{ secrets.MODEL_DEPLOYMENT_NAME }}
221203
run: |
222204
pytest docs-samples/agents/python --maxfail=1 --disable-warnings
205+
206+
# ── Set up .NET SDK
207+
- name: Set up .NET SDK
208+
uses: actions/setup-dotnet@v4
209+
with:
210+
dotnet-version: '8.0.x'
211+
212+
# ── Restore .NET dependencies
213+
- name: dotnet restore
214+
run: dotnet restore
215+
216+
# ── Run .NET tests
217+
- name: dotnet test
218+
env:
219+
PROJECT_CLIENT: ${{ secrets.PROJECT_CLIENT }}
220+
MODEL_DEPLOYMENT_NAME: ${{ secrets.MODEL_DEPLOYMENT_NAME }}
221+
run: dotnet test -c Release --verbosity normal

0 commit comments

Comments
 (0)