Skip to content

Commit a4acac9

Browse files
committed
ci: try to fix tests
1 parent 060a93f commit a4acac9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/e2e_test_windows.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ jobs:
3636
if: runner.os == 'Windows'
3737
run: |
3838
vfox install erlang@25.3.2.12
39-
if (-not (Test-Path -Path $PROFILE)) { New-Item -Type File -Path $PROFILE -Force }; Add-Content -Path $PROFILE -Value 'Invoke-Expression "$(vfox activate pwsh)"'
40-
cat $PROFILE
4139
- name: test installation
4240
if: runner.os == 'Windows'
4341
run: |
42+
vfox activate pwsh > vfox_env.powershell
43+
. vfox_env.powershell
4444
echo $env:__VFOX_SHELL
4545
echo $env:__VFOX_CURTMPPATH
4646
cat $PROFILE
47-
vfox use -g erlang@25.3.2.12
4847
echo "===============PATH==============="
4948
echo $env:PATH
5049
echo "===============PATH==============="
50+
vfox use -g erlang@25.3.2.12
5151
& erl.exe -eval 'erlang:display({otp_release, erlang:system_info(otp_release)}), halt().' -noshell
5252
& erl.exe -eval 'erlang:display(shell_docs:get_doc(lists)), halt().' -noshell

0 commit comments

Comments
 (0)