Skip to content

Disable quest in all but development #86

Disable quest in all but development

Disable quest in all but development #86

Workflow file for this run

name: "Test"
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14-alpine
ports:
- "5432:5432"
env:
POSTGRES_DB: rails_test
POSTGRES_USER: rails
POSTGRES_PASSWORD: password
env:
RAILS_ENV: test
DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1.2"
bundler-cache: true
- name: Set up database schema
run: bin/rake db:test:prepare
- name: Run tests (rspec)
run: bin/rspec
- name: Run tests (minitest)
run: bin/rails test