When sorting methods, only sort by time if the difference is greater … #112
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-prof | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
ruby: ['3.0', '3.1', '3.2', '3.3'] | |
include: | |
- { os: windows-latest , ruby: mswin } | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Build | |
run: bundle exec rake compile | |
- name: Test | |
run: bundle exec rake test | |
env: | |
GITHUB_ACTIONS: true | |
TESTOPTS: "-v" |