Skip to content

fix wrong constant name in chain #159

fix wrong constant name in chain

fix wrong constant name in chain #159

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }} - ${{ matrix.appraisal }}
strategy:
fail-fast: false
matrix:
ruby:
- '3.3.3'
- '3.2.4'
- '3.1.6'
appraisal:
- 'railties-7-sidekiq'
- 'railties-6-sidekiq'
- 'railties-7-no-sidekiq'
- 'railties-6-no-sidekiq'
- 'no-railties-no-sidekiq'
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install Appraisal Gems
run: bundle exec appraisal install
- name: Run the specs for Appraisal
env:
COVERAGE: true
APPRAISAL: ${{ matrix.appraisal }}
RUBY_VERSION: ${{ matrix.ruby }}
run: bundle exec appraisal ${{ matrix.appraisal }} rake spec
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
COVERAGE: true
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage/${{ matrix.ruby }}-${{ matrix.appraisal }}/coverage.json
token: ${{ secrets.CODECOV_TOKEN }}
- name: List coverage directory
run: ls -R ./coverage