Skip to content

minitest-ruby_event_store_coverage #1516

minitest-ruby_event_store_coverage

minitest-ruby_event_store_coverage #1516

name: minitest-ruby_event_store_coverage
on:
workflow_dispatch:
repository_dispatch:
types:
- script
push:
paths:
- contrib/minitest-ruby_event_store/Gemfile.lock
- ".github/workflows/minitest-ruby_event_store_coverage.yml"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types:
- opened
- reopened
paths:
- contrib/minitest-ruby_event_store/Gemfile.lock
- ".github/workflows/minitest-ruby_event_store_coverage.yml"
- support/**
- "!support/bundler/**"
- "!support/ci/**"
schedule:
- cron: 0 17 * * *
jobs:
coverage:
runs-on: ubuntu-20.04
timeout-minutes: 120
env:
WORKING_DIRECTORY: contrib/minitest-ruby_event_store
RUBY_VERSION: "${{ matrix.ruby_version }}"
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
strategy:
fail-fast: false
matrix:
include:
- ruby_version: ruby-3.3
bundle_gemfile: Gemfile
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- run: test -e ${{ env.BUNDLE_GEMFILE }}.lock
working-directory: "${{ env.WORKING_DIRECTORY }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: make mutate
working-directory: "${{ env.WORKING_DIRECTORY }}"
env:
RUBYOPT: "--enable-frozen-string-literal"