Skip to content

Jacobperia component unit tests #144

Jacobperia component unit tests

Jacobperia component unit tests #144

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.1.1'
- '3.2.1'
- '3.2.2'
env:
RAILS_ENV: test
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Lint
run: bundle exec rake standard
- name: Create DB
run: bundle exec rails db:test:prepare
- name: Run tests
run: bundle exec rake spec