Skip to content

Minimal implementation, missing parts #90

Minimal implementation, missing parts

Minimal implementation, missing parts #90

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
rubocop:
runs-on: ubuntu-latest
container:
image: ruby:3.1
steps:
- uses: actions/checkout@v3
- run: gem install bundler
- run: bundle install
- run: bundle exec rake rubocop
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.7, 3.0, 3.1]
gemfile: [libxml, nokogiri, ox, rexml]
container:
image: ruby:${{ matrix.ruby }}
steps:
- uses: actions/checkout@v3
- run: gem install bundler
- run: bundle install
- run: bundle exec appraisal ${{ matrix.gemfile }} bundle install
- run: bundle exec appraisal ${{ matrix.gemfile }} rake test
env:
LC_ALL: C.UTF-8
documentation:
runs-on: ubuntu-latest
container:
image: ruby:3.1
steps:
- uses: actions/checkout@v3
- run: ./scripts/documentation_crawler.rb
coverage:
if: github.event_name == 'push'
needs: [rubocop, test, documentation]
runs-on: ubuntu-latest
container:
image: ruby:3.0
steps:
- uses: actions/checkout@v3
- run: gem install bundler
- run: bundle install
- uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
LC_ALL: C.UTF-8
COVERAGE: true
with:
coverageCommand: bundle exec rake test