Matcher delegate_method supports 'private: true' #672
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
services: | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_PASSWORD: postgres | |
ports: [ '5432:5432' ] | |
options: --health-cmd pg_isready --health-interval 2s --health-timeout 1s --health-retries 10 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- 3.3.0 | |
- 3.2.2 | |
- 3.1.4 | |
- 3.0.6 | |
appraisal: | |
- rails_7_2 | |
- rails_7_1 | |
- rails_7_0 | |
- rails_6_1 | |
adapter: | |
- sqlite3 | |
- postgresql | |
exclude: | |
- { ruby: 3.3.0, appraisal: rails_6_1 } | |
- { ruby: 3.3.0, appraisal: rails_7_0 } | |
- { ruby: 3.2.2, appraisal: rails_6_1 } | |
- { ruby: 3.0.6, appraisal: rails_7_0 } | |
- { ruby: 3.0.6, appraisal: rails_7_1 } | |
- { ruby: 3.0.6, appraisal: rails_7_2 } | |
env: | |
DATABASE_ADAPTER: ${{ matrix.adapter }} | |
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
id: set-up-ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- uses: actions/cache@v3 | |
with: | |
path: vendor/bundle | |
key: v1-rubygems-local-${{ runner.os }}-${{ matrix.ruby }}-${{ hashFiles(format('gemfiles/{0}.gemfile.lock', matrix.appraisal)) }} | |
- name: Install dependencies | |
run: bundle install --jobs=3 --retry=3 | |
- name: Run Unit Tests | |
run: RUBYOPT='--enable=frozen-string-literal' bundle exec rake spec:unit --trace | |
- name: Run Acceptance Tests | |
run: RUBYOPT='--enable=frozen-string-literal' bundle exec rake spec:acceptance --trace |