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 17, 2024
1 parent 961e544 commit b9c213a
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 b9c213a

Please sign in to comment.