Skip to content

Commit

Permalink
Add job for CI using Prism parser
Browse files Browse the repository at this point in the history
Copied from rubocop/rubocop-capybara#112

Co-authored-by: ydah <[email protected]>
  • Loading branch information
bquorning and ydah committed Oct 29, 2024
1 parent e80d28c commit befe7f0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,23 @@ jobs:
ruby-version: "3.3"
bundler-cache: true
- run: NO_COVERAGE=true bundle exec rake spec

prism:
runs-on: ubuntu-latest
name: Prism
steps:
- uses: actions/checkout@v4
- name: Use prism parser
run: |
cat << EOF > Gemfile.local
gem 'prism'
EOF
- name: set up Ruby
uses: ruby/setup-ruby@v1
with:
# Specify the minimum Ruby version 2.7 required for Prism to run.
ruby-version: "2.7"
bundler-cache: true
- env:
PARSER_ENGINE: parser_prism
run: NO_COVERAGE=true bundle exec rake

0 comments on commit befe7f0

Please sign in to comment.