Skip to content

Get transforms to Post if params given #696

Get transforms to Post if params given

Get transforms to Post if params given #696

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
test:
runs-on: ubuntu-latest
container: ${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
include:
- ruby: ruby:2.7
- ruby: ruby:3.0
- ruby: ruby:3.1
- ruby: ruby:3.1
rails: 6.1.7
- ruby: ruby:3.1
rails: 7.0.8
- ruby: ruby:3.3
rails: 7.1.3.2
coverage: coverage
env:
RAILS_VERSION: ${{ matrix.rails == '' && '6.1.6' || matrix.rails }}
COVERAGE: ${{ matrix.coverage || '' }}
steps:
- uses: actions/checkout@v4
- name: bundle install
run: bundle install -j$(nproc) --retry 3
- run: bundle exec rspec
timeout-minutes: 1
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
name: codecov-action@v4 workaround
- name: Upload coverage reports
uses: codecov/codecov-action@v4
if: matrix.coverage == 'coverage'
with:
fail_ci_if_error: true
files: ./coverage/coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}