From e0f2a9d41ccf9008dff388e8eb79e49913c8b3c9 Mon Sep 17 00:00:00 2001 From: Yasmin Teles Date: Sun, 10 Mar 2024 09:58:22 -0300 Subject: [PATCH] fixup! fixup! chore: add test job at CI --- .github/workflows/health-check.yml | 42 +++++++++++++++--------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/health-check.yml b/.github/workflows/health-check.yml index 303e9b3..45ae71d 100644 --- a/.github/workflows/health-check.yml +++ b/.github/workflows/health-check.yml @@ -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