name: Test on: [push, pull_request] jobs: test: strategy: fail-fast: false matrix: ruby: ['2.5', '2.6', '2.7', '3.0'] runs-on: ubuntu-latest steps: - name: repository checkout uses: actions/checkout@v2 with: submodules: true - name: load ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: RubyGems, Bundler Update run: gem update --system --no-document --conservative - name: bundle install run: bundle install --path .bundle/gems --without development - name: compile run: bundle exec rake compile - name: test run: bundle exec rake spec timeout-minutes: 10