Skip to content

Fixed CI

Fixed CI #70

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
# - ruby: 3.3
# gemfile: Gemfile
# os: ubuntu-latest
- ruby: 3.2
gemfile: Gemfile
os: macos-latest
# - ruby: 3.1
# gemfile: Gemfile
# os: windows-latest
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- uses: ankane/setup-postgres@v1
- uses: ankane/setup-mysql@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake compile
- run: bundle exec rake test
- run: ADAPTER=postgresql bundle exec rake test
- run: ADAPTER=mysql2 bundle exec rake test
- run: ADAPTER=trilogy bundle exec rake test