Skip to content

Merge pull request #54 from mongomapper/ruby-3-3 #10

Merge pull request #54 from mongomapper/ruby-3-3

Merge pull request #54 from mongomapper/ruby-3-3 #10

Workflow file for this run

name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version:
- jruby
- 2.4.10
- 2.5.9
- 2.6.10
- 2.7.8
- 3.0.6
- 3.1.4
- 3.2.2
- 3.3.0
mongo-image:
- mongo:4.4
include:
- { "ruby-version": 3.3.0, "mongo-image": "mongo:4.2" }
- { "ruby-version": 3.3.0, "mongo-image": "mongo:5.0" }
- { "ruby-version": 3.3.0, "mongo-image": "mongo:6.0" }
- { "ruby-version": 3.3.0, "mongo-image": "mongo:7.0" }
services:
mongo:
image: ${{ matrix.mongo-image }}
ports:
- 27017:27017
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby-version }}"
- name: Install dependencies
run: |
rm Gemfile.lock
bundle install --without guard
- name: Run tests
run: "bundle exec rake"