Skip to content

Commit d270072

Browse files
Add PowerShell warm-up step for Windows CI runs
1 parent b6fb738 commit d270072

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/sdk-e2e-tests.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ jobs:
5151
working-directory: ./test/harness
5252
run: npm ci --ignore-scripts
5353

54+
- name: Warm up PowerShell
55+
if: runner.os == 'Windows'
56+
run: pwsh.exe -Command "Write-Host 'PowerShell ready'"
57+
5458
- name: Run Node.js SDK tests
5559
env:
5660
COPILOT_HMAC_KEY: ${{ secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY }}
@@ -99,6 +103,10 @@ jobs:
99103
working-directory: ./test/harness
100104
run: npm ci --ignore-scripts
101105

106+
- name: Warm up PowerShell
107+
if: runner.os == 'Windows'
108+
run: pwsh.exe -Command "Write-Host 'PowerShell ready'"
109+
102110
- name: Run Go SDK tests
103111
env:
104112
COPILOT_HMAC_KEY: ${{ secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY }}
@@ -144,6 +152,10 @@ jobs:
144152
working-directory: ./test/harness
145153
run: npm ci --ignore-scripts
146154

155+
- name: Warm up PowerShell
156+
if: runner.os == 'Windows'
157+
run: pwsh.exe -Command "Write-Host 'PowerShell ready'"
158+
147159
- name: Run Python SDK tests
148160
env:
149161
COPILOT_HMAC_KEY: ${{ secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY }}
@@ -196,6 +208,10 @@ jobs:
196208
working-directory: ./test/harness
197209
run: npm ci --ignore-scripts
198210

211+
- name: Warm up PowerShell
212+
if: runner.os == 'Windows'
213+
run: pwsh.exe -Command "Write-Host 'PowerShell ready'"
214+
199215
- name: Run .NET SDK tests
200216
env:
201217
COPILOT_HMAC_KEY: ${{ secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY }}

0 commit comments

Comments
 (0)