Skip to content

build(deps-dev): bump sorbet-runtime from 0.5.11856 to 0.5.11865 #1427

build(deps-dev): bump sorbet-runtime from 0.5.11856 to 0.5.11865

build(deps-dev): bump sorbet-runtime from 0.5.11856 to 0.5.11865 #1427

Workflow file for this run

name: CI
on:
push:
branches: master
pull_request:
jobs:
tap_syntax:
runs-on: ubuntu-latest
container:
image: ghcr.io/homebrew/ubuntu22.04:master
env:
HOMEBREW_SIMULATE_MACOS_ON_LINUX: 1
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- run: brew test-bot --only-tap-syntax
rspec_tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Set up Ruby
uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.0
with:
bundler-cache: true
- name: Run Homebrew/homebrew-services RSpec tests
run: bundle exec rspec
functional_tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
env:
HOMEBREW_NO_INSTALL_FROM_API: 1
steps:
- name: Enable linger
if: matrix.os == 'ubuntu-latest'
run: |
loginctl enable-linger "$(whoami)"
echo "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus" >> "$GITHUB_ENV"
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Set up Ruby
uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.0
with:
bundler-cache: true
- name: Unlink services repo
run: |
rm "$(brew --repo homebrew/services)"
cp -a "$PWD" "$(brew --repo homebrew/services)"
- name: Test start command
run: |
brew install influxdb influxdb-cli
brew services start influxdb
brew services list | grep influxdb
sleep 5
influx ping
- name: Test restart command
run: |
brew services stop influxdb
sleep 5
brew services run influxdb
brew services restart influxdb
brew services list | grep influxdb
sleep 5
influx ping
- name: Test stop command
run: |
brew services stop influxdb
sleep 5
brew services list | grep influxdb | grep none
- name: Test run command
run: |
brew services run influxdb
sleep 5
influx ping
brew services stop influxdb
- name: Test list command
run: |
brew services | grep influxdb
- name: Test info command
run: |
brew services info influxdb | grep influxdb
brew services info influxdb --verbose | grep influxdb
brew services info influxdb --json | ruby -e "require 'json'" -e "puts JSON.parse(ARGF.read)"
- name: Link services repo
run: |
rm -rf "$(brew --repo homebrew/services)"
ln -s "$PWD" "$(brew --repo homebrew/services)"