Merge pull request #185 from Homebrew/sync-shared-config #1476
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: master | |
pull_request: | |
jobs: | |
tests: | |
runs-on: macOS-latest | |
steps: | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- run: brew test-bot --only-cleanup-before | |
- run: brew test-bot --only-tap-syntax | |
- run: brew install bash fish | |
- name: Validate shell syntax | |
run: | | |
set -xeuo pipefail | |
bash -n handler.sh | |
fish -n handler.fish | |
zsh -n handler.sh | |
- name: Run tests | |
run: rake test | |
env: | |
HOMEBREW_COMMAND_NOT_FOUND_CI: 1 |