-
-
Notifications
You must be signed in to change notification settings - Fork 132
22 lines (19 loc) · 548 Bytes
/
ci.yml
File metadata and controls
22 lines (19 loc) · 548 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2', '3.3', '3.4', ruby-head]
steps:
- uses: actions/checkout@v6
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # 'bundle install' and cache
- name: Run specs
run: |
cd spec/fixtures/rails_app && bundle && bundle exec rails db:setup && cd -
bundle exec rspec