evolve75/RubyTree

View on GitHub
.github/workflows/ruby.yml

Summary

Maintainability
Test Coverage
# Build and test the RubyTree library.
#
# This runs as a Github Action.

name: Build and Test
on: [push, pull_request]
jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        ruby: ["2.6", "2.7", "3.0", "3.1"]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - run: bundle exec rake clobber test:all gem:package