Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Drop to deploy github pages #157

Drop to deploy github pages

Drop to deploy github pages #157

# https://docs.github.com/ja/actions/reference/workflow-syntax-for-github-actions
name: Test
on:
push:
branches:
- main
paths:
- '.github/workflows/test_behaviors.yml'
- 'lib/**'
- 'test/**'
- 'spec/**'
- '.rspec'
- '**.gemspec'
- 'Gemfile'
- 'Rakefile'
pull_request:
paths:
- '.github/workflows/test_behaviors.yml'
- 'lib/**'
- 'test/**'
- 'spec/**'
- '.rspec'
- '**.gemspec'
- 'Gemfile'
- 'Rakefile'
jobs:
test_behaviors:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
ruby: ['3.3', '3.2']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
env:
BUNDLE_WITHOUT: development
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake test_behaviors
env:
BUNDLE_WITHOUT: development