codegram/hyperclient

View on GitHub
.github/workflows/test.yml

Summary

Maintainability
Test Coverage
---
name: test
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        entry:
          - { ruby: '3.2' }
          - { ruby: '2.7' }
          - { ruby: 'ruby-head', allowed-failure: true }
          - { ruby: 'jruby-head', allowed-failure: true }
    name: test (${{ matrix.entry.ruby }})
    steps:
      - uses: actions/checkout@v3
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.entry.ruby }}
          bundler-cache: true
      - run: bundle exec rake test spinach
        continue-on-error: ${{ matrix.entry.allowed-failure || false }}