Update nokogiri #73
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: build | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler: latest | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rake | |
- name: Fix test result for code coverage | |
run: sed -i 's/"line"/"covered_percent"/g' coverage/.last_run.json | |
- name: Report coverage | |
uses: devmasx/[email protected] | |
with: | |
type: simplecov | |
result_path: coverage/.last_run.json | |
min_coverage: 85 | |
token: ${{ github.token }} |