Skip to content

Merge pull request #61 from sascha-karnatz/allow-multiple-abilities #187

Merge pull request #61 from sascha-karnatz/allow-multiple-abilities

Merge pull request #61 from sascha-karnatz/allow-multiple-abilities #187

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
RSpec:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
services:
postgres:
image: postgres:12
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: alchemy_pg_search_test
ports: ["5432:5432"]
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/[email protected]
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Prepare database
run: bundle exec rake alchemy:spec:prepare
- name: Run tests
run: bundle exec rspec