Skip to content

fix: railtie loading to prevent calling methods that have not yet bee… #43

fix: railtie loading to prevent calling methods that have not yet bee…

fix: railtie loading to prevent calling methods that have not yet bee… #43

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- '**'
tags-ignore:
- 'v*'
jobs:
test:
name: "Ruby ${{ matrix.ruby }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: "3.2"
- ruby: "3.1"
- ruby: "3.0"
- ruby: "2.7"
container:
image: ruby:${{ matrix.ruby }}
env:
CI: true
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: vendor/bundle
key: bundle-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}-${{ hashFiles('**/Gemfile') }}
restore-keys: |
bundle-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}-${{ hashFiles('**/Gemfile') }}
bundle-${{ matrix.ruby }}-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install
bundle update
- name: Run RSpec
run: bundle exec rspec