Skip to content

Fix validate_response spec to avoid ActiveSupport matcher dependency. #2

Fix validate_response spec to avoid ActiveSupport matcher dependency.

Fix validate_response spec to avoid ActiveSupport matcher dependency. #2

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ["3.0", "3.1", "3.2", "3.3", "3.4"]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: coverage/.resultset.json
format: simplecov
flag-name: ruby-${{ matrix.ruby-version }}
parallel: true
coveralls-finish:
needs: test
if: always()
runs-on: ubuntu-latest
steps:
- name: Mark Coveralls parallel build as finished
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true