-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 843 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
36
37
38
39
40
41
42
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ '**' ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: 3.1
- ruby: 3.2
- ruby: 3.3
- ruby: head
name: ruby ${{ matrix.ruby }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec
- name: Code Climate
uses: paambaati/codeclimate-action@v3.2.0
env:
CC_TEST_REPORTER_ID: d1116c05a48e27785cb11369bde3a5e7f9d9e5a114d294bcbefa19cd193b029c