File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,12 @@ jobs:
6464 script : |
6565 conda init powershell
6666
67- Set-PSDebug -Trace 1
68- \$ErrorActionPreference = 'Stop'
69- \$PSNativeCommandUseErrorActionPreference = \$true
67+ powershell -Command "& {
68+ Set-PSDebug -Trace 1
69+ \$ErrorActionPreference = 'Stop'
70+ \$PSNativeCommandUseErrorActionPreference = \$true
7071
71- .ci/scripts/setup-windows.ps1
72+ .ci/scripts/setup-windows.ps1
7273
73- powershell .ci/scripts/unittest-windows.ps1 -editable "${{ inputs.editable }}"
74+ powershell .ci/scripts/unittest-windows.ps1 -editable "${{ inputs.editable }}"
75+ }"
Original file line number Diff line number Diff line change @@ -994,10 +994,12 @@ jobs:
994994 script : |
995995 conda init powershell
996996
997- Set-PSDebug -Trace 1
998- \$ErrorActionPreference = 'Stop'
999- \$PSNativeCommandUseErrorActionPreference = \$true
997+ powershell -Command "& {
998+ Set-PSDebug -Trace 1
999+ \$ErrorActionPreference = 'Stop'
1000+ \$PSNativeCommandUseErrorActionPreference = \$true
10001001
1001- .ci/scripts/setup-windows.ps1
1002+ .ci/scripts/setup-windows.ps1
10021003
1003- powershell .ci/scripts/test_model.ps1 -modelName ${{ matrix.model }} -backend ${{ matrix.backend }}
1004+ powershell .ci/scripts/test_model.ps1 -modelName ${{ matrix.model }} -backend ${{ matrix.backend }}
1005+ }"
You can’t perform that action at this time.
0 commit comments