Skip to content

Added CODECOV_TOKEN and upgraded to simplecov-cobertura. #165

Added CODECOV_TOKEN and upgraded to simplecov-cobertura.

Added CODECOV_TOKEN and upgraded to simplecov-cobertura. #165

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
name: test
steps:
- uses: actions/checkout@v3
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Run Tests
run: |
bundle install
bundle exec rake spec
- name: Upload Coverage Report
uses: codecov/codecov-action@v4
if: github.event_name == 'push'
with:
token: ${{ secrets.CODECOV_TOKEN }}