Skip to content

make sure to create temporal table column with correct array attribute #118

make sure to create temporal table column with correct array attribute

make sure to create temporal table column with correct array attribute #118

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- '**'
tags:
- "v*.*.*"
pull_request:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11.5
ports: ["5432:5432"]
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
mysql:
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: password
ports: ["3306:3306"]
options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 5
strategy:
fail-fast: false
matrix:
ruby: ["3.0.6", "3.1.4", "3.2.2"]
gemfile:
- "gemfiles/Gemfile.6.1.mysql"
- "gemfiles/Gemfile.6.1.pg"
- "gemfiles/Gemfile.7.0.mysql"
- "gemfiles/Gemfile.7.0.pg"
- "gemfiles/Gemfile.7.1.mysql"
- "gemfiles/Gemfile.7.1.pg"
env:
BUNDLE_GEMFILE: ${{github.workspace}}/${{matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Bundle
run: |
gem install bundler:2.4.10
bundle install
- name: Run Rubocop
run: bundle exec rubocop
- name: Run Tests
env:
PGHOST: localhost
PGUSER: postgres
run: bundle exec rspec
publish:
needs: [tests]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.2"
bundler-cache: true
- uses: rubygems/release-gem@v1