forked from sei-mi/sqlite3_ar_regexp
-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (30 loc) · 844 Bytes
/
test.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
name: Test
on: [push, pull_request]
jobs:
test:
name: Test Ruby ${{ matrix.ruby }} on activerecord ${{ matrix.activerecord }}
strategy:
matrix:
ruby: ["3.3"]
activerecord: ["7.1"]
include:
- activerecord: "7.0"
ruby: "3.2"
- activerecord: "6.1"
ruby: "3.1"
- activerecord: "6.0"
ruby: "3.0"
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: gemfiles/activerecord-${{ matrix.activerecord }}.gemfile
steps:
- uses: actions/checkout@v4
- name: Install Prerequisites
run: sudo apt install libsqlite3-dev
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test
run: bundle exec rake spec