Skip to content

Run Cucumber feature tests on CI #462

Run Cucumber feature tests on CI

Run Cucumber feature tests on CI #462

Workflow file for this run

name: Build
on:
pull_request:
push:
branches: [ main ]
jobs:
build:
name: Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}
strategy:
fail-fast: false
matrix:
rails: ["8.0", "7.2", "7.1", "7.0", "6.1"]
ruby: ["3.4", "3.3", "3.2", "3.1"]
exclude:
# Rails >= 8.0 requires Ruby 3.2
- ruby: "3.1"
rails: "8.0"
runs-on: 'ubuntu-latest'
env:
ARUBA_TIMEOUT: 240
BUNDLE_GEMFILE: gemfiles/rails${{ matrix.rails }}.gemfile
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Setup project
run: bundle install
- name: RSpec specs
run: bundle exec rake spec
- name: Minitest tests
run: bundle exec rake test
- name: Cucumber tests
run: bundle exec rake cucumber
standard:
name: Run standard
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
- name: Setup project
run: bundle install
- name: Run test
run: bundle exec rake standard