Skip to content

[review]add gzip compression level option #100

[review]add gzip compression level option

[review]add gzip compression level option #100

Workflow file for this run

name: Ruby
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.2", "3.1", "3.0"]
services:
postgres:
image: postgres:13
ports: ["5432:5432"]
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
mysql:
image: mysql:8
ports: ["3306:3306"]
options: --health-cmd "mysqladmin ping -h 127.0.0.1" --health-interval 10s --health-timeout 5s --health-retries 5
env:
MYSQL_ROOT_PASSWORD: password
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Copy database config
run: cp config/database.ci.yml config/database.yml
- name: rspec
run: bundle exec rspec
- name: rubocop
run: bundle exec rubocop
- uses: k1LoW/octocov-action@v0
- name: Archive coverage artifacts
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage
if: always()