1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
thoughtbot--factory_bot_rails/.github/workflows/build.yml
2022-05-04 22:08:04 -04:00

45 lines
953 B
YAML

name: Build
on:
- push
- pull_request
jobs:
build:
name: Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}
strategy:
fail-fast: false
matrix:
ruby:
# - "2.5"
# - "2.6"
# - "2.7"
- "3.0"
rails:
# - "5.0"
# - "5.1"
# - "5.2"
# - "6.0"
- "6.1"
# exclude:
# - ruby: 3.0
# rails: "5.0"
# - ruby: 3.0
# rails: "5.1"
# - ruby: 3.0
# rails: "5.2"
runs-on: 'ubuntu-latest'
env:
ARUBA_TIMEOUT: 240
BUNDLE_GEMFILE: gemfiles/rails${{ matrix.rails }}.gemfile
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Setup project
run: bundle install
- name: Run test
run: bundle exec cucumber features/reloading.feature