Bump nokogiri from 1.16.7 to 1.17.2 #153
Workflow file for this run
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: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: | |
- '3.0' | |
- '3.1' | |
- '3.2' | |
- '3.3' | |
name: Ruby ${{ matrix.ruby }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Run Tests | |
env: | |
COVERAGE: true | |
RUBYOPT: "-W:deprecated" | |
run: bundle exec rake | |
- name: Rename coverage file by matrix run | |
run: mv coverage/coverage.xml coverage/coverage-ruby-${{ matrix.ruby }}.xml | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: coverage-ruby-${{ matrix.ruby }} | |
path: coverage | |
if-no-files-found: error | |
upload_coverage: | |
name: Upload Coverage | |
runs-on: ubuntu-latest | |
needs: [build] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
path: coverage | |
pattern: coverage-ruby-* | |
merge-multiple: true | |
- uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: coverage | |
fail_ci_if_error: true |