Skip to content

fix: environment database #9

fix: environment database

fix: environment database #9

Workflow file for this run

name: Test
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
name: Ruby ${{matrix.ruby}} on Ubuntu
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '3.1'
- '3.2'
- '3.3'
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Setup database
run: RACK_ENV='test' bundle exec ruby db/setup.rb
- name: Run tests
run: RACK_ENV='test' bundle exec rspec