Skip to content

Bump actionpack from 7.1.3.4 to 7.1.4.1 #190

Bump actionpack from 7.1.3.4 to 7.1.4.1

Bump actionpack from 7.1.3.4 to 7.1.4.1 #190

Workflow file for this run

name: CI
on: push
jobs:
rspec:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: true
matrix:
version: ['3.0', 3.1, 3.2, 3.3]
experimental: [false]
include:
- version: head
experimental: true
services:
postgres:
image: postgres
env:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
mysql:
image: mysql
ports:
- 3306:3306
env:
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: active_outbox_user
MYSQL_PASSWORD: password
MYSQL_DATABASE: active_outbox_db
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
BUNDLE_GEMFILE: Gemfile
name: "RSpec tests: Ruby ${{ matrix.version }}"
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.version }}
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.version }}
- name: Run RuboCop
run: bundle exec rubocop .
- name: Run tests on sqlite
run: bundle exec rspec
- name: Run tests on postgres
run: bundle exec rspec
env:
POSTGRES_USER: postgres
POSTGRES_HOST: 127.0.0.1
POSTGRES_PORT: 5432
ADAPTER: postgresql
- name: Run tests on mysql
run: bundle exec rspec
env:
ADAPTER: mysql2
MYSQL_DATABASE: active_outbox_db
MYSQL_HOST: 127.0.0.1
MYSQL_PORT: 3306
MYSQL_USER: active_outbox_user
MYSQL_PASSWORD: password