Skip to content

Remove FastMCP and make Rails optional #313

Remove FastMCP and make Rails optional

Remove FastMCP and make Rails optional #313

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [3.2.0, 3.3.0]
appraisal: ["rails_7.1", "rails_7.2", "rails_8.0"]
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: bundle install --jobs 1 --retry 1
- name: Run tests
run: bundle exec ruby -Itest test/all_test.rb
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0
bundler-cache: true
- name: Lint code for consistent style
run: bundle exec rubocop