Update the release notes (v5.1.0p2) #308 #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload coverage reports to Codecov | |
on: | |
push: | |
branches: ["5-stable"] | |
pull_request: | |
branches: ["*"] | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository(CRuby) | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Setup CRuby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3" | |
- name: Install minitest | |
run: gem install minitest -v 5.15.0 | |
- name: Install oj | |
run: gem install oj -v 3.10.0 | |
- name: Install bundle, rake, simplecov, and simplecov-cobertura | |
run: gem install bundle rake simplecov simplecov-cobertura | |
- name: Check the CRuby version | |
run: ruby -v | |
- name: Execute public tests with the coverage report | |
run: ruby -I./lib ./test/coverage.rb | |
- name: Run Codecov on GitHub Actions | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./coverage/coverage.xml | |
verbose: true | |