Skip to content

(fix) handle case if examples are included above the working directory #42

(fix) handle case if examples are included above the working directory

(fix) handle case if examples are included above the working directory #42

Workflow file for this run

name: ruby-project
on:
push:
branches: [ 'main' ]
pull_request:
concurrency:
group: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}-ruby
cancel-in-progress: true
jobs:
main:
name: ruby-${{ matrix.ruby }} rspec-${{ matrix.rspec }} simplecov-${{ matrix.simplecov }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ '2.5', '2.6', '2.7', '3.0' ]
rspec: [ '3.6.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0' ]
simplecov: [ 17, 18, 19, 20, 21 ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install Dependencies
run: bundle install --jobs 3 --retry 3
- name: Run Features
env:
RSPEC_VERSION: "~> ${{ matrix.rspec }}"
SIMPLECOV_VERSION: "~> 0.${{ matrix.simplecov }}.0"
BRANCH_COVERAGE: "${{ matrix.simplecov >= 18 && 'true' || 'false' }}"
run: bundle exec cucumber --retry 1 --no-strict-flaky --tags "@ruby-app and not @parallel-tests"