Skip to content

Add coverageCommand #30

Add coverageCommand

Add coverageCommand #30

Workflow file for this run

name: RSpec
on:
- push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4
bundler-cache: true
- name: Run tests
run: bundle exec rspec
- name: Upload Coverage Report to CodeClimate
uses: paambaati/codeclimate-action@v5
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageCommand: bash -c "bundle exec rspec spec"