feat: [#47] Listen to memory and disk alarms (#48) #41
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: Harmoniser CI | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
jobs: | |
job_1: | |
runs-on: ubuntu-latest | |
services: | |
rabbitmq: | |
image: rabbitmq:3.9.29-management | |
options: >- | |
--health-cmd "rabbitmq-diagnostics check_port_connectivity" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- "5672:5672" | |
- "15672:15672" | |
strategy: | |
matrix: | |
ruby-version: ["3.2"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install dependencies | |
run: bundle install | |
- name: Run linter | |
run: bundle exec standardrb | |
- name: Run tests | |
run: bundle exec rspec |