Skip to content

Merge pull request #749 from cucumber/issue-699-disable-bundler-using… #534

Merge pull request #749 from cucumber/issue-699-disable-bundler-using…

Merge pull request #749 from cucumber/issue-699-disable-bundler-using… #534

Workflow file for this run

# This workflow will download a prebuilt Ruby version, install dependencies and
# run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on:
push:
branches: [ master, 0-14-stable, still ]
pull_request:
branches: [ master, 0-14-stable, still ]
env:
CUCUMBER_PUBLISH_QUIET: true
JRUBY_OPTS: "--dev"
jobs:
test-ubuntu:
strategy:
matrix:
ruby: [2.1.9, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, jruby-9.2]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run RSpec specs
run: bundle exec rake spec
- name: Run Cucumber senarios
run: bundle exec rake cucumber
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop