Skip to content

Revert "Bump njs version to 0.8.3." #131

Revert "Bump njs version to 0.8.3."

Revert "Bump njs version to 0.8.3." #131

Workflow file for this run

name: brew test-bot
on:
push:
branches: master
pull_request:
jobs:
test-bot:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@v1
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ runner.os }}-rubygems-
- name: Install Homebrew Bundler RubyGems
if: steps.cache.outputs.cache-hit != 'true'
run: brew install-bundler-gems
- run: brew test-bot --only-cleanup-before
- run: brew test-bot --only-setup
- run: brew test-bot --only-tap-syntax
- run: brew test-bot --only-formulae-detect
id: formulae-detect
- run:
brew test-bot --only-formulae --testing-formulae=${{ env.NEED_PHP_EMBED }}${{ env.NEED_UNIT }}${{ steps.formulae-detect.outputs.testing_formulae }}
env:
NEED_PHP_EMBED: ${{ contains(steps.formulae-detect.outputs.testing_formulae, 'unit-php') && 'php-embed,' || '' }}
NEED_UNIT: ${{ contains(steps.formulae-detect.outputs.testing_formulae, 'unit-') && 'unit,' || '' }}
if: github.event_name == 'pull_request'