You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
656 B
22 lines
656 B
name: Squib Unit Tests |
|
|
|
on: [push, pull_request] |
|
|
|
jobs: |
|
test: |
|
strategy: |
|
fail-fast: false |
|
matrix: |
|
os: [ubuntu, macos] |
|
ruby: [2.7, 3.0, head] |
|
runs-on: ${{ matrix.os }}-latest |
|
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || (matrix.ruby == '3.0' && matrix.os == 'macos')}} |
|
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
|
|
|