Fix deprecation warning for bold log text in Rails 7.2 #37
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: ${{ matrix.ruby-version }} | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: | |
- "2.6" | |
- "2.7" | |
- "3.0" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/checkout@v2 | |
with: | |
repository: "ranguba/groonga-client" | |
path: "groonga-client" | |
- name: Fix groonga-client path | |
run: | | |
mv groonga-client ../ | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install Groonga | |
run: | | |
sudo apt install -y -V software-properties-common | |
sudo add-apt-repository -y ppa:groonga/ppa | |
sudo apt update | |
sudo apt install -y groonga-bin | |
- name: Install dependencies | |
run: | | |
bundle install | |
- name: "Test: unit" | |
run: | | |
bundle exec ruby test/unit/run-test.rb | |
- name: "Test: Rails 6.1.3" | |
run: | | |
cd test/apps/rails6.1.3 | |
export BUNDLE_GEMFILE=${PWD}/Gemfile | |
bundle install | |
PATH=$PWD/bin:$PATH bin/rails webpacker:install | |
PATH=$PWD/bin:$PATH bin/rails test:all | |
- name: "Test: Rails 6.0.3.5" | |
run: | | |
cd test/apps/rails6.0.3.5 | |
export BUNDLE_GEMFILE=${PWD}/Gemfile | |
bundle install | |
PATH=$PWD/bin:$PATH bin/rails webpacker:install | |
PATH=$PWD/bin:$PATH bin/rails test | |
PATH=$PWD/bin:$PATH bin/rails test:system |