diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 93f1314..17b0314 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -96,3 +96,24 @@ 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 + - name: spec + env: + PARSER_ENGINE: parser_prism + run: NO_COVERAGE=true bundle exec rake