Skip to content

fix regex

fix regex #599

Workflow file for this run

name: stable
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
env:
BUNDLE_WITHOUT: "benchmark"
JRUBY_OPTS: "--debug"
strategy:
fail-fast: false
matrix:
ruby-version:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- jruby-9.4
- truffleruby
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: bundle exec rake
if: matrix.ruby-version != 'truffleruby'
# Run only `rake spec` on truffleruby, because just `rake` runs `rubocop spec cucumber`.
# There is no value to rerun rubocop here.
# cucumber fails because it uses an old childprocess which depends on fork.
- name: Run specs (truffleruby)
run: bundle exec rake spec
if: matrix.ruby-version == 'truffleruby'