Ruby #569
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: Ruby | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
# # This job runs at 00:00 on Friday. | |
- cron: '0 15 * * 5' | |
jobs: | |
ruby-versions: | |
uses: ruby/actions/.github/workflows/ruby_versions.yml@master | |
with: | |
engine: cruby-truffleruby | |
min_version: 2.7 | |
build: | |
needs: ruby-versions | |
name: build (${{ matrix.ruby }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Bundle install | |
run: | | |
bundle install | |
- run: bundle exec typeprof --version | |
- name: Run the test suite | |
run: | | |
bundle exec rake TESTOPT=-v | |
if: ${{ !startsWith(matrix.ruby, 'truffle') }} |