Skip to content

scope exception catching #228

scope exception catching

scope exception catching #228

Workflow file for this run

name: Ruby
on:
push:
branches: [ main ]
pull_request:
types: [ opened, edited, synchronize ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [ '3.0', 3.1 ]
name: Ruby ${{ matrix.ruby-version }}
steps:
- name: start Redis
run: docker run --name redis --publish 6379:6379 --detach redis:3
- name: clone ${{ github.repository }}
uses: actions/checkout@v4
- name: setup Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: run tests
run: bundle exec rspec
- name: upload code coverage
uses: codecov/codecov-action@v3