Skip to content

Add Rails 8.0.0.beta1 to CI matrix #157

Add Rails 8.0.0.beta1 to CI matrix

Add Rails 8.0.0.beta1 to CI matrix #157

Workflow file for this run

name: CI
on:
push:
branches: master
pull_request:
branches: "*"
jobs:
tests:
name: Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["3.0", "3.1", "3.2", "3.3"]
rails: ["6.1", "7.0", "7.1", "7.2", "8.0.0.beta1"]
continue-on-error: [false]
services:
postgres:
image: postgres:14
env:
POSTGRES_USER: postgres
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_USER: postgres
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
rubygems: latest
- name: Setup environment
run: bin/setup
- name: Run tests
run: bundle exec rake