Skip to content

Remove model tests

Remove model tests #57

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- "**"
- "!production"
jobs:
test:
name: Test
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11
ports: ["5432:5432"]
env:
POSTGRES_USER: bot
POSTGRES_DB: interflux_test
POSTGRES_PASSWORD: password
env:
RAILS_ENV: test
PG_HOST: localhost
PG_USER: bot
PG_DATABASE: interflux_test
PG_PASSWORD: password
JWT_SECRET: ${{ secrets.JWT_SECRET }}
IP_GEO_API_KEY: ${{ secrets.IP_GEO_API_KEY }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: bin/rails db:create
- run: bin/rails db:schema:load
- run: bin/rails test --verbose