-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (34 loc) · 867 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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