Fix minimum_time calculation for non-default values #284
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: "Build & Test" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: [2.7, 3.0, 3.3] | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # for bin/rubocop_changes | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Recreate Ruby Bundler cache | |
uses: actions/cache@v3 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-bundler-${{ hashFiles('**/Gemfile*') }} | |
restore-keys: | | |
${{ runner.os }}-bundler- | |
- name: Install dependencies | |
run: bundle install --path ./vendor/bundle | |
- name: Run tests | |
run: bundle exec rspec |