Skip to content

Classification user groups authorization policies #105

Classification user groups authorization policies

Classification user groups authorization policies #105

Workflow file for this run

name: Run Rspec
on:
pull_request:
workflow_dispatch:
env:
DATABASE_URL_TEST: postgresql://eras:eras@localhost/eras_test
RAILS_ENV: test
jobs:
tests:
name: Run Tests
runs-on: ubuntu-latest
services:
postgres:
image: timescale/timescaledb:2.11.0-pg15
env:
POSTGRES_PASSWORD: eras
POSTGRES_USER: eras
ports:
- 5432:5432
options:
--health-cmd pg_isready
--health-interval 10ms
--health-timeout 500ms
--health-retries 15
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Check for focused specs
run: ./scripts/no_focus.sh
- name: Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.2'
bundler-cache: true
- name: Setup test database
run: bin/rails db:create
- name: Run tests
run: bundle exec rspec