Skip to content

⬆️ Update webrick to version 1.8.2 #206

⬆️ Update webrick to version 1.8.2

⬆️ Update webrick to version 1.8.2 #206

Workflow file for this run

name: CI
on: [push]
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: --health-cmd="pg_isready" --health-interval=10s --health-timeout=5s --health-retries=3
env:
RAILS_ENV: test
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
PGHOST: localhost
PGUSER: postgres
PGPASSWORD: postgres
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Precompile assets
run: bin/rails assets:precompile
- name: Setup test database
run: bin/rails db:test:prepare
- name: Run tests
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432
run: bundle exec rspec