Bump 0.17.1 #76
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: Continuous integration | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ['3.2', '3.3'] | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: ${{ matrix.ruby }} | |
- name: Lint with RuboCop | |
run: bundle exec rubocop | |
- name: Run tests | |
run: bundle exec dotenv -f ".env.test" rspec | |
- name: Send test coverage to CodeClimate | |
uses: paambaati/codeclimate-action@v8 | |
if: ${{ env.CC_TEST_REPORTER_ID }} | |
with: | |
coverageCommand: true |