Sha256: 986840060d429fb52d7bc9b999cdad563a0f6b49ff6fe742e60666d9d755f777

Contents?: true

Size: 1.56 KB

Versions: 20

Compression:

Stored size: 1.56 KB

Contents

name: ci

jobs:
  specs:
    runs-on: ubuntu-latest

    strategy:
      fail-fast: false
      matrix:
        ruby:
          - '2.7'
          - '2.6'
          - '2.5'
          - 'jruby'
        include:
          - ruby: '2.7'
            coverage: 'true'

    steps:
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
        with:
          path: vendor/bundle
          key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: |
            ${{ runner.os }}-gems-
      - name: Install package dependencies
        run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{matrix.ruby}}
      - name: Install latest bundler
        run: |
          gem install bundler --no-document
      - name: Bundle install
        env:
          DIFFEND_DEVELOPMENT: true
        run: |
          bundle config path vendor/bundle
          bundle install --jobs 4 --retry 3
      - name: Run all tests
        env:
          GITHUB_COVERAGE: ${{matrix.coverage}}
        run: bundle exec rspec

  coditsu:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Run Coditsu
        env:
          CODITSU_API_KEY: ${{ secrets.CODITSU_API_KEY }}
          CODITSU_API_SECRET: ${{ secrets.CODITSU_API_SECRET }}
        run: \curl -sSL https://api.coditsu.io/run/ci | bash

on:
  push:
  schedule:
    - cron:  '0 1 * * *'

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
diffend-monitor-0.2.36 .github/workflows/ci.yml
diffend-0.2.36 .github/workflows/ci.yml
diffend-monitor-0.2.35 .github/workflows/ci.yml
diffend-0.2.35 .github/workflows/ci.yml
diffend-monitor-0.2.34 .github/workflows/ci.yml
diffend-0.2.34 .github/workflows/ci.yml
diffend-monitor-0.2.33 .github/workflows/ci.yml
diffend-0.2.33 .github/workflows/ci.yml
diffend-monitor-0.2.32 .github/workflows/ci.yml
diffend-0.2.32 .github/workflows/ci.yml
diffend-monitor-0.2.31 .github/workflows/ci.yml
diffend-0.2.31 .github/workflows/ci.yml
diffend-monitor-0.2.30 .github/workflows/ci.yml
diffend-0.2.30 .github/workflows/ci.yml
diffend-0.2.29 .github/workflows/ci.yml
diffend-monitor-0.2.28 .github/workflows/ci.yml
diffend-0.2.28 .github/workflows/ci.yml
diffend-monitor-0.2.27 .github/workflows/ci.yml
diffend-0.2.27 .github/workflows/ci.yml
diffend-0.2.26 .github/workflows/ci.yml