File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : E2E tests on Linux
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
1211jobs :
1312 e2e_tests :
2019 - uses : actions/checkout@v4
2120
2221 - name : install vfox (Linux)
22+ shell : bash
2323 run : |
2424 echo "deb [trusted=yes] https://apt.fury.io/versionfox/ /" | sudo tee /etc/apt/sources.list.d/versionfox.list
2525 sudo apt-get update
4040 sudo DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.2-dev libwxgtk-webview3.2-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk
4141
4242 - name : install Erlang/OTP by vfox-erlang plugin (Linux)
43+ shell : bash -l {0} # use login shell to load .bashrc: https://github.com/orgs/community/discussions/25061
4344 run : |
4445 export MAKEFLAGS=-j4
4546 vfox install erlang@26.2.3
Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ jobs:
4040 # vfox activate pwsh | Out-File -FilePath vfox_env.ps1
4141 - name : test installation
4242 if : runner.os == 'Windows'
43- shell : powershell -NoExit -command ". '{0}'"
43+ shell : powershell -NoExit -Interactive -Command ". '{0}'"
4444 run : |
4545 # Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force
4646 # cat vfox_env.ps1
4747 # & .\vfox_env.ps1
4848 echo $env:__VFOX_SHELL
4949 echo $env:__VFOX_CURTMPPATH
5050 vfox use -g erlang@25.3.2.12
51- & .\vfox_env.ps1
51+ # & .\vfox_env.ps1
5252 echo "===============PATH==============="
5353 echo $env:PATH
5454 echo "===============PATH==============="
You can’t perform that action at this time.
0 commit comments