Skip to content

Add simplecov to check for code coverage #262

Add simplecov to check for code coverage

Add simplecov to check for code coverage #262

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Tests
run: bundle exec rake test
- name: RuboCop
run: bundle exec rake lint
if: matrix.ruby != '3.1' && matrix.ruby != '3.2'