Add renovate.json #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: push | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:14 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Ruby and install gems | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.9.0 | |
- name: Setup test database | |
env: | |
RAILS_ENV: test | |
DATABASE_HOST: postgres | |
DATABASE_USER: postgres | |
run: | | |
bin/rails db:create | |
bin/rails db:setup | |
- name: Run tests | |
run: bin/rails test |