Sha256: fb2f62b7dc00c55cf8a07e47a0e6744f8b97a46ec37d09ebea6e7327d5f2c977

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

name: Tests
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        entry:
          - { ruby: "2.7" }
          - { ruby: "2.7", concurrency: async-websocket }
          - { ruby: "3.0" }
          - { ruby: "3.1" }
          - { ruby: ruby-head, ignore: true }
          - { ruby: jruby-head, ignore: true }
    name: test (ruby=${{ matrix.entry.ruby }}, concurrency=${{ matrix.entry.concurrency || 'none' }})
    steps:
      - uses: actions/checkout@v2
      - name: Install Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.entry.ruby }}
      - name: Set Concurrency
        run: |
          if [[ ! -z "${{ matrix.entry.concurrency }}" ]]; then
            echo "Setting concurrency to ${{ matrix.entry.concurrency }}."
            echo "CONCURRENCY=${{ matrix.entry.concurrency }}" >> $GITHUB_ENV
          fi
      - name: Run Tests
        continue-on-error: ${{ matrix.entry.ignore || false }}
        env:
          RACK_ENV: test
        run: |
          bundle install
          bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-client-1.1.0 .github/workflows/test.yml