Skip to content

Commit 271d870

Browse files
committed
Update
[ghstack-poisoned]
2 parents aec4169 + d521e08 commit 271d870

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/_unittest.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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+
}"

.github/workflows/trunk.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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+
}"

0 commit comments

Comments
 (0)