From a2790f2ccc8a80f253cb66adfe0b9ef09d34d180 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Tue, 1 Dec 2020 22:16:15 +0900 Subject: [PATCH] CI against Ruby 2.7.2 and Ruby 2.6.6 --- .github/workflows/test.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 483c3b720..90950ad03 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} @@ -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 @@ -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 }} @@ -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 @@ -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 }} @@ -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;