Merge pull request #85 from publitas/add-missing-attributes #90
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: Ruby | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby_version: [2.6, 2.7, 3.0] | |
steps: | |
- uses: actions/checkout@v3.3.0 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
- uses: amancevice/setup-code-climate@v0 | |
name: CodeClimate Install | |
with: | |
cc_test_reporter_id: 0b8e41ecbc26637a7db4e6e9d4581c445441674f689016ab45fb5c51242b59bf | |
- name: CodeClimate Pre-build Notification | |
run: cc-test-reporter before-build | |
- name: Build and test with Rake | |
env: | |
CI: true | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
bundle exec rake | |
- name: CodeClimate Post-build Notification | |
run: cc-test-reporter after-build |