.github/workflows/test.yml in has_defaults-1.0.0 vs .github/workflows/test.yml in has_defaults-1.1.0
- old
+ new
@@ -42,11 +42,12 @@
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Setup database
run: |
- sudo apt-get install -y mysql-client libmariadbclient-dev
+ sudo apt-get update
+ sudo apt-get install -y mariadb-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:1.17.3
bundle install --no-deployment
@@ -66,10 +67,11 @@
strategy:
fail-fast: false
# Rails 4.2: Ruby 2.5.7
# Rails 5.2: Ruby 2.5.7 and 2.7.4
# Rails 6.1: Ruby 2.5.7, 2.7.4 and 3.0.2
+ # Rails 7.0: Ruby 2.7.4 and 3.0.2
matrix:
include:
- ruby: 2.5.7
gemfile: Gemfile.4.2.pg
- ruby: 2.5.7
@@ -78,11 +80,15 @@
gemfile: Gemfile.6.1.pg
- ruby: 2.7.4
gemfile: Gemfile.5.2.pg
- ruby: 2.7.4
gemfile: Gemfile.6.1.pg
+ - ruby: 2.7.4
+ gemfile: Gemfile.7.0.pg
- ruby: 3.0.2
gemfile: Gemfile.6.1.pg
+ - ruby: 3.0.2
+ gemfile: Gemfile.7.0.pg
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
- uses: actions/checkout@v2
- name: Install ruby