Merge branch 'dev' of github.com:andymeneely/squib into dev #124
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: Squib Unit Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu, macos] | |
ruby: ['3.0', '3.1', '3.2', head] | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ endsWith(matrix.ruby, 'head') }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
# bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- run: ruby --version # explicitly show the ruby version | |
- run: bundle install | |
- run: bundle exec rake |