Bump version to 3.0.2 #273
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
gemfile: [rails_5_2.gemfile, rails_6_0.gemfile, rails_6_1.gemfile, rails_7_0.gemfile, rails_7_1.gemfile, rails_7_2.gemfile, rails_main.gemfile] | |
ruby_version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] | |
exclude: | |
- gemfile: rails_main.gemfile | |
ruby_version: '2.3' | |
- gemfile: rails_main.gemfile | |
ruby_version: '2.4' | |
- gemfile: rails_main.gemfile | |
ruby_version: '2.5' | |
- gemfile: rails_main.gemfile | |
ruby_version: '2.6' | |
- gemfile: rails_main.gemfile | |
ruby_version: '2.7' | |
- gemfile: rails_main.gemfile | |
ruby_version: '3.0' | |
- gemfile: rails_main.gemfile | |
ruby_version: '3.1' | |
- gemfile: rails_7_2.gemfile | |
ruby_version: '2.3' | |
- gemfile: rails_7_2.gemfile | |
ruby_version: '2.4' | |
- gemfile: rails_7_2.gemfile | |
ruby_version: '2.5' | |
- gemfile: rails_7_2.gemfile | |
ruby_version: '2.6' | |
- gemfile: rails_7_2.gemfile | |
ruby_version: '2.7' | |
- gemfile: rails_7_2.gemfile | |
ruby_version: '3.0' | |
- gemfile: rails_7_1.gemfile | |
ruby_version: '2.3' | |
- gemfile: rails_7_1.gemfile | |
ruby_version: '2.4' | |
- gemfile: rails_7_1.gemfile | |
ruby_version: '2.5' | |
- gemfile: rails_7_1.gemfile | |
ruby_version: '2.6' | |
- gemfile: rails_7_0.gemfile | |
ruby_version: '2.3' | |
- gemfile: rails_7_0.gemfile | |
ruby_version: '2.4' | |
- gemfile: rails_7_0.gemfile | |
ruby_version: '2.5' | |
- gemfile: rails_7_0.gemfile | |
ruby_version: '2.6' | |
- gemfile: rails_6_1.gemfile | |
ruby_version: '2.3' | |
- gemfile: rails_6_1.gemfile | |
ruby_version: '2.4' | |
- gemfile: rails_6_1.gemfile | |
ruby_version: '3.1' | |
- gemfile: rails_6_1.gemfile | |
ruby_version: '3.2' | |
- gemfile: rails_6_1.gemfile | |
ruby_version: '3.3' | |
- gemfile: rails_6_0.gemfile | |
ruby_version: '2.3' | |
- gemfile: rails_6_0.gemfile | |
ruby_version: '2.4' | |
- gemfile: rails_6_0.gemfile | |
ruby_version: '3.0' | |
- gemfile: rails_6_0.gemfile | |
ruby_version: '3.1' | |
- gemfile: rails_6_0.gemfile | |
ruby_version: '3.2' | |
- gemfile: rails_6_0.gemfile | |
ruby_version: '3.3' | |
- gemfile: rails_5_2.gemfile | |
ruby_version: '3.0' | |
- gemfile: rails_5_2.gemfile | |
ruby_version: '3.1' | |
- gemfile: rails_5_2.gemfile | |
ruby_version: '3.2' | |
- gemfile: rails_5_2.gemfile | |
ruby_version: '3.3' | |
env: | |
BUNDLE_GEMFILE: spec/gemfiles/${{ matrix.gemfile }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
bundler-cache: true | |
- name: Before build | |
run: | | |
sudo apt-get install libsqlite3-dev | |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter | |
chmod +x ./cc-test-reporter | |
./cc-test-reporter before-build | |
env: | |
CC_TEST_REPORTER_ID: aff2c7b9e07e54d5fc9e5588d2e2a8bab4f69950d35000edc2b6250bbaba477d | |
- name: Run test | |
run: | | |
bundle exec rake code_analysis | |
bundle exec rspec | |
- name: Report to CodeClimate | |
run: | | |
./cc-test-reporter after-build --exit-code 0 | |
env: | |
CC_TEST_REPORTER_ID: aff2c7b9e07e54d5fc9e5588d2e2a8bab4f69950d35000edc2b6250bbaba477d |