Skip to content

Commit

Permalink
fixup! fixup! chore: add test job at CI
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Mar 10, 2024
1 parent 51070d9 commit e0f2a9d
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,30 +33,30 @@ jobs:
run:
shell: ${{ matrix.shell }}
steps:
# - name: Clean up linuxOS
# if: runner.os != 'macOS'
# run: sudo apt-get install build-essential
- name: Clean up linuxOS
if: runner.os != 'macOS'
run: sudo apt-get install build-essential

# - name: Cleanup macOS
# if: runner.os == 'macOS'
# run: |
# sudo rm -rf /Applications/Xcode.app \
# /Library/Developer/CommandLineTools
# sudo xcode-select --reset
- name: Cleanup macOS
if: runner.os == 'macOS'
run: |
sudo rm -rf /Applications/Xcode.app \
/Library/Developer/CommandLineTools
sudo xcode-select --reset
# - name: Install Homebrew
# run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# env:
# NONINTERACTIVE: 1
- name: Install Homebrew
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
env:
NONINTERACTIVE: 1

# - name: Set up Homebrew PATH
# run: |
# if [[ "${{ runner.os }}" = "macOS" ]]
# then
# echo "/usr/local/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"
# else
# echo "/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"
# fi
- name: Set up Homebrew PATH
run: |
if [[ "${{ runner.os }}" = "macOS" ]]
then
echo "/usr/local/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"
else
echo "/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"
fi
- name: Check Homebrew
run: brew --config
Expand Down

0 comments on commit e0f2a9d

Please sign in to comment.