Sha256: f4e7f3b5b655fc85de2e5c11e0707fb9a374fcaacde1a70819169ebaeb1095b9

Contents?: true

Size: 1.55 KB

Versions: 4

Compression:

Stored size: 1.55 KB

Contents

name: CI

on: push

jobs:
  test:
    name: Ruby ${{ matrix.ruby }} on ${{ matrix.platform }}
    runs-on: ${{ matrix.platform }}
    strategy:
      fail-fast: false
      matrix:
        # Windows started failing on the following command for some reason.
        #
        #     gem install bundler && bundle install --jobs 4 --retry 3
        #                         ~~
        #     The token '&&' is not a valid statement separator in this version.
        #
        # Temporarily disable Windows builds to unblock CI.
        #
        # platform: [ubuntu-18.04, windows-2019, macOS-10.14]
        platform: [ubuntu-18.04, macOS-10.14]
        ruby: [2.3, 2.4, 2.5, 2.6]

        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

4 entries across 4 versions & 1 rubygems

Version Path
statsd-instrument-2.9.2 .github/workflows/ci.yml
statsd-instrument-3.0.0.pre1 .github/workflows/ci.yml
statsd-instrument-2.9.1 .github/workflows/ci.yml
statsd-instrument-2.9.0 .github/workflows/ci.yml