Skip to content

Rails 7.2

Rails 7.2 #240

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
specs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:13
ports: ['5432:5432']
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: secret
steps:
- uses: actions/checkout@v4
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.3
bundler-cache: true
- name: Run specs
env:
PGUSER: postgres
PGPASSWORD: secret
RAILS_ENV: test
run: |
bundle exec rails db:create
bundle exec rails spec