name: Tests on: push jobs: test: runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: [ '2.6', # minimum supported '2.7', '3.0', '3.1', ] steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: bundle exec rake valgrind: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: '3.1' bundler-cache: true - run: sudo apt-get install -y valgrind - run: bundle exec rake test:valgrind