Skip to content

test matrix updates #337

test matrix updates

test matrix updates #337

Workflow file for this run

name: RSpec
on:
pull_request:
push:
jobs:
RSpec:
name: >-
Ruby ${{ matrix.ruby }}, ${{ matrix.gems }}
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- "2.7"
- "3.2"
gems:
- >-
datadog-lambda:1.14
ddtrace:0.48
- >-
datadog-lambda:2.20
ddtrace:1.14
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: amancevice/setup-code-climate@v1
with:
cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }}
- run: cc-test-reporter before-build
- run: bundle install
env:
BUNDLE_SYSTEM: 1
BUNDLE_WITHOUT: datadog
- run: gem install rake ${{ matrix.gems }}
- run: rake
- run: cc-test-reporter after-build
if: ${{ github.event_name != 'pull_request' }}