-
Notifications
You must be signed in to change notification settings - Fork 18
31 lines (29 loc) · 942 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
---
name: Tests
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
jobs:
tests:
name: ActiveRecord ${{ matrix.activerecord-version }} / Ruby ${{ matrix.ruby-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
activerecord-version: ["6.0", "6.1", "7.0", "7.0.5", "7.1"]
ruby-version: ["2.7", "3.0", "3.1", "3.2", "3.3"]
include:
- {activerecord-version: "5.2", ruby-version: "2.7"}
- {activerecord-version: "7.2", ruby-version: "3.2"}
- {activerecord-version: "7.2", ruby-version: "3.3"}
- {activerecord-version: "8.0", ruby-version: "3.2"}
- {activerecord-version: "8.0", ruby-version: "3.3"}
steps:
- uses: actions/checkout@v4
- run: docker compose run test
env:
RUBY_VERSION: ${{ matrix.ruby-version }}
AR_VERSION: ${{ matrix.activerecord-version }}