Sha256: ba39d9417054dcd35c38557078eed0571220c491e43f3c6100133fd996da7041

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

name: CI

on:
  pull_request:
    branches: ["master"]
  push:
    branches: ["master"]

jobs:
  unit-specs:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby-version:
          - "2.7"
          - "3.0"
          - "3.1"
          - "3.2"
          - "3.3"

    steps:
    - uses: actions/checkout@v4
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true
    - name: Build and test with RSpec
      run: bundle exec rspec --exclude-pattern='spec/integration/*_spec.rb'

  integration-specs:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: "2.7"
        bundler-cache: true
    - name: Bring up docker-compose stack
      run: docker-compose up -d
    - name: Build and test with RSpec
      env:
        RACECAR_BROKERS: localhost:9092
      run: timeout --kill-after 180 150 bundle exec rspec spec/integration/*_spec.rb

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
racecar-2.11.0.beta1 .github/workflows/ci.yml
racecar-2.10.0 .github/workflows/ci.yml