Skip to content

gitlab CI

gitlab CI #5

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
name: Tests with Ruby ${{ matrix.ruby-version }} Rails ${{ matrix.rails }}
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- 3.1
- 3.2
- 3.3
- 3.4
rails:
- '7.0.0'
- '7.1.0'
- '7.2.0'
- '8.0.0'
env:
RAILS_VERSION: ${{ matrix.rails }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: |
bundle exec rake