Skip to content

Commit

Permalink
Fix homebrew installation in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Mar 31, 2023
1 parent 157cfc1 commit 2d2c452
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: "Test"
on:
pull_request:
push:

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: True

jobs:
test:
runs-on: "ubuntu-18.04"
Expand All @@ -18,8 +22,12 @@ jobs:
python-version: "${{ matrix.python-version }}"
- name: Install homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
shell: bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
echo "::add-path::/home/linuxbrew/.linuxbrew/bin"
brew --version
- name: Install siegfried
run: |
brew install richardlehane/digipres/siegfried
Expand Down

0 comments on commit 2d2c452

Please sign in to comment.