Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 13, 2024
1 parent 8e59241 commit d3832c0
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,31 @@ jobs:
fail-fast: false
matrix:
include:
- ruby: 3.3
gemfile: Gemfile
os: ubuntu-latest
# - ruby: 3.3
# gemfile: Gemfile
# os: ubuntu-latest
- ruby: 3.2
gemfile: Gemfile
os: macos-latest
- ruby: 3.1
gemfile: Gemfile
os: windows-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

- uses: ankane/setup-postgres@v1
- run: ADAPTER=postgresql bundle exec rake test

- uses: ankane/setup-mysql@v1
- run: ADAPTER=mysql2 bundle exec rake test
- run: ADAPTER=trilogy bundle exec rake test

0 comments on commit d3832c0

Please sign in to comment.