Skip to content

Merge pull request #389 from kaigionrails/dependabot/bundler/puma-6.5.0 #976

Merge pull request #389 from kaigionrails/dependabot/bundler/puma-6.5.0

Merge pull request #389 from kaigionrails/dependabot/bundler/puma-6.5.0 #976

Workflow file for this run

name: test
on:
push:
branches:
- "main"
pull_request:
branches:
- "*"
jobs:
rspec:
name: rspec
runs-on: ubuntu-22.04
services:
postgres:
image: postgres:15.4-bookworm
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: conference_app_test
redis:
image: redis:7.2-bookworm
ports:
- 6379:6379
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432/conference_app_test
REDIS_URL: redis://localhost:6379
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: bundle exec rails db:schema:load
- run: bundle exec rails tailwindcss:build
- run: bundle exec rspec