Skip to content

Commit 9b8cb74

Browse files
committed
ci(workflows): add bash activation for vfox in darwin workflows
Add `eval "$(vfox activate bash)"` command after installing Erlang versions in macOS end-to-end test workflows to ensure proper shell environment setup. This change standardizes the workflow configuration across different operating systems by explicitly activating the vfox shell integration. The activation ensures that the installed Erlang versions are properly recognized and available in subsequent workflow steps, particularly important for maintaining consistent testing environments across Darwin platforms.
1 parent 7ddcf86 commit 9b8cb74

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

.github/workflows/e2e_test_darwin.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
brew install --force autoconf libxslt fop wxwidgets openssl
4242
export MAKEFLAGS=-j4
4343
vfox install erlang@26.2.3
44+
eval "$(vfox activate bash)"
4445
vfox use -g erlang@26.2.3
4546
eval "$(vfox activate bash)"
4647
echo "===============PATH==============="

.github/workflows/e2e_test_darwin_prebuilt.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
run: |
4141
export USE_PREBUILT_OTP=true
4242
vfox install erlang@26.2.3
43+
eval "$(vfox activate bash)"
4344
vfox use -g erlang@26.2.3
4445
eval "$(vfox activate bash)"
4546
echo "===============PATH==============="

.github/workflows/e2e_test_linux.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
run: |
5252
export MAKEFLAGS=-j4
5353
vfox install erlang@26.2.3
54+
eval "$(vfox activate bash)"
5455
vfox use -g erlang@26.2.3
5556
eval "$(vfox activate bash)"
5657
echo "===============PATH==============="

.github/workflows/e2e_test_linux_prebuilt.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
export MAKEFLAGS=-j4
4747
export USE_PREBUILT_OTP="ubuntu-22.04"
4848
vfox install erlang@maint-27
49+
eval "$(vfox activate bash)"
4950
vfox use -g erlang@maint-27
5051
eval "$(vfox activate bash)"
5152
echo "===============PATH==============="

.github/workflows/e2e_test_windows.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
if: runner.os == 'Windows'
4141
run: |
4242
vfox install erlang@25.3.2.12
43+
Invoke-Expression "$(vfox activate pwsh)"
4344
vfox use erlang@25.3.2.12
4445
Invoke-Expression "$(vfox activate pwsh)"
4546
echo "===============PATH==============="

0 commit comments

Comments
 (0)