Skip to content

Apply our CI best practices #73

Apply our CI best practices

Apply our CI best practices #73

Workflow file for this run

name: Test
on:
pull_request: {}
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- "2.7"
- "3.0"
steps:
- uses: actions/checkout@v2
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
env:
BUNDLE_WITHOUT: release
- name: Build gem
run: gem build --verbose *.gemspec
- name: Run tests
run: bundle exec rake spec
tests:
needs:
- test
runs-on: ubuntu-latest
name: Test suite
steps:
- run: echo Test suite completed