Skip to content

Add an alias 'apply' to the 'each' method (#164) #135

Add an alias 'apply' to the 'each' method (#164)

Add an alias 'apply' to the 'each' method (#164) #135

Workflow file for this run

name: Spec
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.1', "3.2", "3.3", "truffleruby+graalvm-head"]
name: ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v1
- name: Set up ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Test
if: ${{ contains(matrix.ruby, 'truffleruby') }}
run: bundle exec rspec --exclude-pattern "**/*_pattern_matching_spec.rb"
- name: Test
if: ${{ !contains(matrix.ruby, 'truffleruby') }}
run: bundle exec rspec
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ruby-${{ matrix.ruby }}
parallel: true
finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true