Skip to content

Commit

Permalink
Test with Ruby 3.2 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Dec 30, 2022
1 parent 1f415e6 commit a8c8bc8
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,30 @@ jobs:
fail-fast: false
matrix:
include:
- ruby: 3.1
gemfile: Gemfile
postgres: 15
- ruby: "3.0"
gemfile: gemfiles/activerecord61.gemfile
postgres: 13
- ruby: 2.7
gemfile: gemfiles/activerecord60.gemfile
postgres: 10
- ruby: 3.2
gemfile: Gemfile
postgres: 15
- ruby: 3.1
gemfile: Gemfile
postgres: 14
- ruby: "3.0"
gemfile: gemfiles/activerecord61.gemfile
postgres: 12
- ruby: 2.7
gemfile: gemfiles/activerecord60.gemfile
postgres: 10
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: ankane/setup-postgres@v1
with:
postgres-version: ${{ matrix.postgres }}
database: pghero_test
config: |
shared_preload_libraries = 'pg_stat_statements'
- run: bundle exec rake test
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: ankane/setup-postgres@v1
with:
postgres-version: ${{ matrix.postgres }}
database: pghero_test
config: |
shared_preload_libraries = 'pg_stat_statements'
- run: bundle exec rake test

0 comments on commit a8c8bc8

Please sign in to comment.