Skip to content

Commit

Permalink
use brew to install shelltestrunner
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed Sep 21, 2024
1 parent 2c30eeb commit 5e53ccb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/macos_shelltests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,8 @@ jobs:
- name: Install just
uses: extractions/setup-just@v1

- uses: haskell-actions/setup@v2
with:
ghc-version: '9.8'
enable-stack: true
stack-version: 'latest'

- name: Install shelltestrunner
run: stack install shelltestrunner-1.10
run: brew install shelltestrunner

- name: Build beamup
run: cargo build
Expand Down
9 changes: 0 additions & 9 deletions shelltests/installs.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ v1.4.1
ls ~/.local/bin/gleam || ls ~/.beamup/bin/gleam
>>>=0

ls /root/.local/share/beamup/elixir/v1.4.1/bin/gleam
>>>=0

find /root/.* -name gleam
>>>=0

ls -l /root/.local/share/beamup/gleam/v1.4.1/gleam
>>>=0

# test the version is right
DEBUG=1 ~/.local/bin/gleam --version
>>>
Expand Down
2 changes: 1 addition & 1 deletion shelltests/macos/install_erlang.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# test an install of erlang on macos
target/debug/beamup install erlang latest
target/debug/beamup install erlang OTP-27.1
>>>=0

0 comments on commit 5e53ccb

Please sign in to comment.