Sha256: 7aa94a8bd6463726461120f61391fc57aa33e24ac0a3c2cc5e86dd7956aeef11

Contents?: true

Size: 846 Bytes

Versions: 1

Compression:

Stored size: 846 Bytes

Contents

name: CI

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - "*"

jobs:
  build:
    name: Ruby ${{ matrix.ruby }}

    strategy:
      fail-fast: true
      matrix:
        ruby:
          - "2.5.0"
          - "3.0.0"
          - "head"

    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Install dependent libraries
        run: sudo apt-get install libpq-dev

      - name: Install Ruby ${{ matrix.ruby }}
        uses: ruby/setup-ruby@v1.61.1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true # 'bundle install' and cache

      - name: Check code style
        run: bundle exec rubocop
        continue-on-error: false

      - name: Run tests
        run: bundle exec rake --trace
        continue-on-error: false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tram-policy-2.2.0 .github/workflows/ci.yml