-
Notifications
You must be signed in to change notification settings - Fork 65
36 lines (30 loc) · 780 Bytes
/
ci.yml
File metadata and controls
36 lines (30 loc) · 780 Bytes
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
name: CI
on: [push, pull_request]
jobs:
ruby_rails_test_matrix:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
ruby: ['3.3', '3.3', '3.4', '4']
rails: ['7.2', '8.0', '8']
experimental: [false]
include:
- rails: '7.1'
ruby: '3.3'
experimental: true
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Runs code QA and tests
env:
RAILS_VERSION: ~> ${{ matrix.rails }}
run: |
rm -rf Gemfile.lock
sudo apt-get update
sudo apt-get install libsqlite3-dev
bundle
bundle exec rake