Skip to content

test with up-to-date Rails, do not stick to specific patch version #1105

test with up-to-date Rails, do not stick to specific patch version

test with up-to-date Rails, do not stick to specific patch version #1105

name: ruby_event_store-protobuf_coverage
on:
repository_dispatch:
types:
- script
schedule:
- cron: "0 17 * * *"
workflow_dispatch:
push:
paths:
- "contrib/ruby_event_store-protobuf/Gemfile.lock"
- ".github/workflows/ruby_event_store-protobuf_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-protobuf/Gemfile.lock"
- ".github/workflows/ruby_event_store-protobuf_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
runs-on: ubuntu-20.04
timeout-minutes: 120
env:
WORKING_DIRECTORY: contrib/ruby_event_store-protobuf
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
strategy:
fail-fast: false
matrix:
include:
- ruby_version: ruby-3.2
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v3
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby-3.2
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
- run: make mutate
working-directory: ${{ env.WORKING_DIRECTORY }}