Skip to content

Apply authorisation changes to actors controller #168

Apply authorisation changes to actors controller

Apply authorisation changes to actors controller #168

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
fail-fast: false
max-parallel: 20
runs-on: ubuntu-latest
env:
CI: true
PGHOST: localhost
PGPASSWORD: runner
PGUSER: runner
RAILS_ENV: test
name: rspec
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Start Redis
uses: supercharge/redis-github-action@1.4.0
- name: "Set up PostgreSQL using VM's server"
run: |
sudo apt-get update
sudo apt-get install libpq-dev -y
sudo systemctl start postgresql.service
sudo -u postgres psql -c "CREATE USER runner WITH SUPERUSER PASSWORD 'runner'"
- run: bin/rails db:setup
- run: bin/rspec