Skip to content

Update to use ensure block for closing PHI access #142

Update to use ensure block for closing PHI access

Update to use ensure block for closing PHI access #142

Workflow file for this run

name: Spec CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby: [3.1, 3.2, 3.3]
env:
RUBY_VERSION: ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install dependencies
run: |
bundle exec appraisal install
- name: Run rspec
run: |
bundle exec appraisal "rake dummy:db:create dummy:db:migrate && rspec"