Skip to content

Working base branch

Working base branch #5

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 --quiet --tags 'not @fail'
- name: Cucumber (expected to fail)
run: bundle exec cucumber --quiet --tags '@fail' --wip