Sha256: f7e5b99a28acd9d8f24dc789ace622b164eac2d8b95dc2919c7de16a9a1326ea

Contents?: true

Size: 1.06 KB

Versions: 9

Compression:

Stored size: 1.06 KB

Contents

name: CI

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

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

    strategy:
      matrix:
        ruby-version: ["2.6", "3.0"]

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

  integration-specs:
    runs-on: ubuntu-latest
    steps:
    - uses: zendesk/checkout@v2
    - name: Set up Ruby
      uses: zendesk/setup-ruby@v1.64.1
      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 --format documentation --require spec_helper --color spec/integration/*_spec.rb

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
racecar-2.9.0.beta1 .github/workflows/ci.yml
racecar-2.8.2 .github/workflows/ci.yml
racecar-2.8.2.beta .github/workflows/ci.yml
racecar-2.8.1 .github/workflows/ci.yml
racecar-2.8.0.rc.1 .github/workflows/ci.yml
racecar-2.8.0.beta.2 .github/workflows/ci.yml
racecar-2.8.0.beta.1 .github/workflows/ci.yml
racecar-2.7.0 .github/workflows/ci.yml
racecar-2.7.0.beta1 .github/workflows/ci.yml