Sha256: c00832bf9d17e9a63e9a9bd708efd93c996e7aba9f4ab7ca53b1c907626b1d2f

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

name: CI

on: push

jobs:
  test:
    name: Ruby ${{ matrix.ruby }} on ubuntu-18.04
    runs-on: ubuntu-18.04
    strategy:
      fail-fast: false
      matrix:
        # Windows on macOS builds started failing, so they are disabled for noew

        ruby: [2.4, 2.5, 2.6]
        # platform: [windows-2019, macOS-10.14, ubuntu-18.04]

        # exclude:
        # The Windows environment does not support older Ruby versions. We only test against the latest version
        # - platform: windows-2019
        #   ruby: 2.3
        # - platform: windows-2019
        #   ruby: 2.4
        # - platform: windows-2019
        #   ruby: 2.5

        # On macOS, we only test against the Ruby version macOS ships with (2.3)
        # - platform: macOS-10.14
        #   ruby: 2.4
        # - platform: macOS-10.14
        #   ruby: 2.5
        # - platform: macOS-10.14
        #   ruby: 2.6

    steps:
    - uses: actions/checkout@v1

    - name: Setup Ruby
      uses: actions/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}

    - name: Install dependencies
      run: gem install bundler && bundle install --jobs 4 --retry 3

    - name: Run test suite
      run: bundle exec rake

    - name: Run Rubocop
      run: bundle exec rubocop

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
statsd-instrument-3.0.0 .github/workflows/ci.yml