Add hook for customizing the debug representation of an object #663
Workflow file for this run
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(macOS) | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
ruby-versions: | |
uses: ruby/actions/.github/workflows/ruby_versions.yml@master | |
with: | |
engine: cruby | |
min_version: 3.2 | |
test: | |
needs: ruby-versions | |
runs-on: macos-latest | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: ${{ fromJson(needs.ruby-versions.outputs.versions) }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Set fetch-depth: 10 so that Launchable can receive commits information. | |
fetch-depth: 10 | |
- name: Set up Launchable | |
uses: ./.github/actions/launchable/setup | |
with: | |
os: macos-latest | |
test-task: test_console | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Set up tests | |
run: | | |
bundle exec rake clobber | |
bundle exec rake compile | |
- name: Run tests | |
run: bundle exec rake test_console |