Skip to content

Bump sorbet-runtime from 0.5.10924 to 0.5.11064 #52

Bump sorbet-runtime from 0.5.10924 to 0.5.11064

Bump sorbet-runtime from 0.5.10924 to 0.5.11064 #52

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }} | Gemfile ${{ matrix.gemfile }}
continue-on-error: ${{ matrix.gemfile == 'rails_edge' }}
services:
redis:
image: redis
ports:
- 6379:6379
strategy:
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2"]
gemfile: [rails_6_0, rails_6_1, rails_7_0, rails_edge]
exclude:
- ruby: "3.1"
gemfile: rails_6_0
- ruby: "3.2"
gemfile: rails_6_0
- ruby: "3.2"
gemfile: rails_6_1
include:
- ruby: head
gemfile: rails_edge
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Start MySQL and create DB
run: |
sudo systemctl start mysql.service
mysql -uroot -h localhost -proot -e "CREATE DATABASE job_iteration_test;"
- name: Rubocop
run: bundle exec rubocop
- name: Ruby tests
run: bundle exec rake test
env:
REDIS_HOST: localhost
REDIS_PORT: ${{ job.services.redis.ports[6379] }}
- name: Documentation correctly written
run: bundle exec yardoc --no-output --no-save --no-stats --fail-on-warning