Skip to content

Release v1.0.1

Release v1.0.1 #13

Workflow file for this run

name: CI Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
continue-on-error: true
strategy:
matrix:
ruby: ['3.0', '3.2', head, jruby-head]
operating-system: [ubuntu-latest]
include:
- ruby: '3.0'
operating-system: windows-latest
- ruby: jruby-head
operating-system: windows-latest
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Initialize Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run rake
run: bundle exec rake
coverage:
needs: [ build ]
runs-on: ubuntu-latest
name: Report test coverage to CodeClimate
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Initialize Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Run tests
run: bundle exec rake spec
- name: Report test coverage
uses: paambaati/codeclimate-action@v3.2.0
env:
CC_TEST_REPORTER_ID: 997ddf9df5b99897b448d7a7a13e332d57f0e29754d9b9d1414aaee611759422
with:
coverageLocations: ${{github.workspace}}/coverage/lcov/*.lcov:lcov