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 26, 2022
1 parent 4a22176 commit 13444c3
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,36 @@ jobs:
fail-fast: false
matrix:
include:
- ruby: 3.2.0-preview2
gemfile: gemfiles/activerecord71.gemfile
- ruby: 3.1
gemfile: Gemfile
- ruby: "3.0"
gemfile: gemfiles/activerecord61.gemfile
- ruby: 2.7
gemfile: gemfiles/activerecord60.gemfile
- ruby: 2.6
gemfile: gemfiles/activerecord52.gemfile
- ruby: 3.2
gemfile: gemfiles/activerecord71.gemfile
- ruby: 3.1
gemfile: Gemfile
- ruby: "3.0"
gemfile: gemfiles/activerecord61.gemfile
- ruby: 2.7
gemfile: gemfiles/activerecord60.gemfile
- ruby: 2.6
gemfile: gemfiles/activerecord52.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- uses: ankane/setup-postgres@v1
with:
database: strong_migrations_test
- run: bundle exec rake test
- uses: ankane/setup-postgres@v1
with:
database: strong_migrations_test
- run: bundle exec rake test

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

- uses: ankane/setup-mariadb@v1
with:
database: strong_migrations_test
- run: ADAPTER=mysql2 bundle exec rake test
- uses: ankane/setup-mariadb@v1
with:
database: strong_migrations_test
- run: ADAPTER=mysql2 bundle exec rake test

0 comments on commit 13444c3

Please sign in to comment.