Sha256: a5836ded21d28dd9fe9543d7ee45760d4201687a56718f12505f3fda86cb904a

Contents?: true

Size: 890 Bytes

Versions: 3

Compression:

Stored size: 890 Bytes

Contents

name: test

on: [pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 1
      matrix:
        ruby: ['2.5', '2.6', '2.7', '3.0', '3.1']
    name: 💎 Ruby ${{ matrix.ruby }}
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0 # gives the commit linter access to previous commits

      - name: Commit message linter
        if: ${{ matrix.ruby == '2.5' }}
        uses: wagoid/commitlint-github-action@v4

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - run: bundle exec rake rubocop

      - run: bundle exec rake test
        env:
          STREAM_CHAT_API_KEY: ${{ secrets.STREAM_CHAT_API_KEY }}
          STREAM_CHAT_API_SECRET: ${{ secrets.STREAM_CHAT_API_SECRET }}
          STREAM_CHAT_API_HOST: ${{ secrets.STREAM_CHAT_API_HOST }}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stream-chat-ruby-2.17.2 .github/workflows/ci.yml
stream-chat-ruby-2.17.1 .github/workflows/ci.yml
stream-chat-ruby-2.17.0 .github/workflows/ci.yml