Skip to content

chore database.yml.sample, yarn.lock: #1

chore database.yml.sample, yarn.lock:

chore database.yml.sample, yarn.lock: #1

Workflow file for this run

name: Ruby
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
services:
db:
image: postgres:11
ports: [ '5432:5432' ]
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_PASSWORD: 12345
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
- name: Run the default task
env:
PGHOST: localhost
PGUSER: postgres
PGPASSWORD: 12345
RAILS_ENV: test
run: |
sudo apt-get -yqq install libpq-dev
gem install bundler -v 2.2.29
bundle install
bundle exec rails db:create
bundle exec rails db:migrate
bundle exec rails db:seed
bundle exec rails webpacker:install
bundle exec rspec