ruby-grape/grape-on-rack

View on GitHub
.github/workflows/test.yml

Summary

Maintainability
Test Coverage
name: Tests
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - "2.7"
          - "3.0"
          - "3.1"
          - "3.2"
    steps:
      - uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - uses: browser-actions/setup-geckodriver@latest
        with:
          geckodriver-version: "0.32.2"
      - uses: browser-actions/setup-firefox@v1
        with:
          firefox-version: "111.0.1"
      - uses: coactions/setup-xvfb@v1
        with:
          run: |
            bundle exec rake spec