fix: make rails auto-detection no-op in truffle #342
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JRuby Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
BUNDLE_GEMFILE: gemfiles/jruby.gemfile | |
CI: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: jruby | |
bundler-cache: true | |
- name: Run Ruby Next | |
run: bundle exec rake nextify | |
- name: Run RSpec | |
run: | | |
bundle exec rake spec | |
- name: Run RSpec without rails | |
run: | | |
bundle exec rake spec:norails |