Skip to content

Commit

Permalink
CI against Ruby 2.7.2 and Ruby 2.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
yahonda committed Dec 1, 2020
1 parent 8031e66 commit a2790f2
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
- 6-0-stable
- 5-2-stable
- v5.2.4
ruby:
- 2.7.2
- 2.6.6
env:
DB: sqlite3
RAILS: ${{ matrix.rails }}
Expand All @@ -24,7 +27,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Run tests
Expand All @@ -41,6 +44,9 @@ jobs:
- 6-0-stable
- 5-2-stable
- v5.2.4
ruby:
- 2.7.2
- 2.6.6
env:
DB: mysql
RAILS: ${{ matrix.rails }}
Expand All @@ -51,7 +57,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: ${{ matrix.ruby }}
- name: Startup MySQL
run: |
sudo systemctl start mysql.service
Expand All @@ -75,6 +81,9 @@ jobs:
- 6-0-stable
- 5-2-stable
- v5.2.4
ruby:
- 2.7.2
- 2.6.6
env:
DB: postgres
RAILS: ${{ matrix.rails }}
Expand All @@ -101,7 +110,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: ${{ matrix.ruby }}
- name: Setup databases
run: |
psql -h localhost -p 5432 -W postgres -c 'create database ransack;' -U postgres;
Expand Down

0 comments on commit a2790f2

Please sign in to comment.