summaryrefslogtreecommitdiff
path: root/vendor/bundle/ruby/3.4.0/gems/terminal-table-3.0.2/.github/workflows/ci.yml
blob: f3b8591c4372b1ff7d41f4a08a1f52aa6c14e63a (plain)
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
name: CI
on: [push]

jobs:
  test:
    if: "!contains(github.event.head_commit.message, 'ci skip')"

    continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}

    strategy:
      fail-fast: false

      matrix:
        os: [ubuntu]
        ruby: [2.4, 2.5, 2.6, 2.7]

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

    steps:
      - uses: actions/checkout@v2

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

      - run: bundle install
      - run: bundle exec rspec