.github/workflows/test.yml in gemika-0.6.1 vs .github/workflows/test.yml in gemika-0.7.0
- old
+ new
@@ -21,17 +21,11 @@
- 3306:3306
strategy:
fail-fast: false
matrix:
include:
- - ruby: 2.3.8
- gemfile: Gemfile.3.2.mysql2
- - ruby: 2.3.8
- gemfile: Gemfile.4.2.mysql2
- - ruby: 2.3.8
- gemfile: Gemfile.4.2.mysql2
- - ruby: 2.3.8
+ - ruby: 2.5.3
gemfile: Gemfile.5.2.mysql2
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
- uses: actions/checkout@v2
@@ -39,11 +33,10 @@
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Setup database
run: |
- sudo apt-get install -y mysql-client libmariadbclient-dev
mysql -e 'create database IF NOT EXISTS test;' -u root --password=password -P 3306 -h 127.0.0.1
- name: Bundle
run: |
gem install bundler:2.2.15
bundle install --no-deployment
@@ -62,28 +55,33 @@
- 5432:5432
strategy:
fail-fast: false
matrix:
include:
- - ruby: 2.3.8
- gemfile: Gemfile.4.2.pg
- - ruby: 2.3.8
+ - ruby: 2.5.3
gemfile: Gemfile.5.2.pg
- - ruby: 2.6.4
+ - ruby: 2.6.7
gemfile: Gemfile.6.1.pg
- - ruby: 3.0.1
+ - ruby: 2.7.3
gemfile: Gemfile.6.1.pg
+ - ruby: 2.7.3
+ gemfile: Gemfile.7.0.pg
+ - ruby: 3.0.3
+ gemfile: Gemfile.6.1.pg
+ - ruby: 3.0.3
+ gemfile: Gemfile.7.0.pg
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
- uses: actions/checkout@v2
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Setup database
run: |
+ sudo apt-get update
sudo apt-get install -y postgresql-client
PGPASSWORD=postgres psql -c 'create database test;' -U postgres -p 5432 -h localhost
- name: Bundle
run: |
gem install bundler:2.2.15
@@ -94,10 +92,10 @@
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- - ruby: 2.3.8
+ - ruby: 2.5.3
gemfile: Gemfile.5.2.sqlite3
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
- uses: actions/checkout@v2