Skip to content

Commit ff88962

Browse files
committed
ci: try to fix shell hook
1 parent f130b14 commit ff88962

3 files changed

Lines changed: 28 additions & 25 deletions

File tree

.github/workflows/e2e_test_linux.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: E2E tests on Linux
22

3-
on:
4-
push:
5-
pull_request:
6-
workflow_dispatch:
7-
schedule:
8-
# Runs at 12am UTC
9-
- cron: '0 0 * * *'
3+
# on:
4+
# push:
5+
# pull_request:
6+
# workflow_dispatch:
7+
# schedule:
8+
# # Runs at 12am UTC
9+
# - cron: '0 0 * * *'
1010

1111
jobs:
1212
e2e_tests:
@@ -24,8 +24,6 @@ jobs:
2424
echo "deb [trusted=yes] https://apt.fury.io/versionfox/ /" | sudo tee /etc/apt/sources.list.d/versionfox.list
2525
sudo apt-get update
2626
sudo apt-get install vfox
27-
# Hook Shell
28-
echo 'eval "$(vfox activate bash)"' >> ~/.bashrc
2927
3028
- name: add vfox-erlang plugin (Unix-like)
3129
run: |

.github/workflows/e2e_test_linux_prebuilt.yaml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
name: E2E tests on Linux (Prebuilt release)
22

3-
# on:
4-
# push:
5-
# branches: [main]
6-
# pull_request:
7-
# workflow_dispatch:
8-
# schedule:
9-
# # Runs at 12am UTC
10-
# - cron: '0 0 * * *'
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
schedule:
8+
# Runs at 12am UTC
9+
- cron: '0 0 * * *'
1110

1211
jobs:
1312
e2e_tests:
@@ -34,12 +33,18 @@ jobs:
3433
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk
3534
3635
- name: install Erlang/OTP by vfox-erlang plugin (Linux)
36+
shell: bash
3737
run: |
3838
export MAKEFLAGS=-j4
3939
export USE_PREBUILT_OTP="ubuntu-22.04"
4040
vfox install erlang@maint-27
41+
# Hook Shell
42+
echo 'eval "$(vfox activate bash)"' >> ~/.bashrc
43+
44+
- name: test installation
45+
shell: bash -l {0} # use login shell to load .bashrc:
46+
run: |
4147
vfox use -g erlang@maint-27
42-
eval "$(vfox activate bash)"
4348
echo "===============PATH==============="
4449
echo $PATH
4550
echo "===============PATH==============="

.github/workflows/e2e_test_windows.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: E2E tests on Windows
22

3-
on:
4-
push:
5-
pull_request:
6-
workflow_dispatch:
7-
schedule:
8-
# Runs at 12am UTC
9-
- cron: '0 0 * * *'
3+
# on:
4+
# push:
5+
# pull_request:
6+
# workflow_dispatch:
7+
# schedule:
8+
# # Runs at 12am UTC
9+
# - cron: '0 0 * * *'
1010

1111
jobs:
1212
e2e_tests:

0 commit comments

Comments
 (0)