Skip to content

Bump codecov/codecov-action from 4 to 5 #137

Bump codecov/codecov-action from 4 to 5

Bump codecov/codecov-action from 4 to 5 #137

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
rspec:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.3'
- '3.2'
- '3.1'
- '3.0'
env:
BUNDLE_WITH: 'development_common development_test'
BUNDLE_WITHOUT: 'development_lint development_local'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run RSec
run: bundle exec rake coverage
- name: Upload coverage report
uses: codecov/codecov-action@v5
with:
name: ${{ matrix.ruby }}
file: ./coverage/coverage.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}