File: ci.yml

package info (click to toggle)
ruby-statsd 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176 kB
  • sloc: ruby: 915; makefile: 3
file content (34 lines) | stat: -rw-r--r-- 592 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Ruby

on: [push, pull_request]

jobs:
  build:
    strategy:
      matrix:
        os:
          - ubuntu
          - macos
        ruby:
          - 2.4
          - 2.5
          - 2.6
          # TODO: - 2.7
          # TODO: jruby, rbx

    runs-on: ${{ matrix.os }}-latest

    steps:
    - uses: actions/checkout@v1

    - name: Set up Ruby
      uses: actions/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        architecture: x64

    - name: Build and test with Rake
      run: |
        gem install bundler
        bundle install
        bundle exec rake