Skip to content

Working base branch

Working base branch #1

Workflow file for this run

name: Push & PR
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rspec: ['3.1']
ruby: ['3.2']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '${{ matrix.ruby }}'
bundler-cache: true
cache-version: ${{ matrix.rspec }}
env:
RSPEC: ${{ matrix.rspec }}
- name: Rspec
run: bundle exec rspec
- name: Cucumber
run: bundle exec cucumber --tags 'not @fail'
- name: Cucumber (expected to fail)
run: bundle exec cucumber --tags '@fail' --wip
# rubocop:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Set up Ruby
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: 3.2
# bundler-cache: true
# - name: Rubocop
# run: bundle exec rubocop