Sha256: 9402f58d0b9576bd357ff3b25a0782fc4446ba897b477099d04afe62ac5f0b51

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

name: ci

on:
  push:
    paths:
      - .github/workflows/custom_ci.yml
      - lib/**
      - spec/**
      - Rakefile
      - Gemfile
      - Gemfile.devtools
      - "*.gemspec"
      - ".rubocop.yml"
  pull_request:
    branches:
      - master

jobs:
  tests:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - "2.7"
          - "2.6"
          - "2.5"
          - "2.4"
          - "jruby"
        runtime_deps:
          - "dry-types-latest"
          - "dry-types-master"
        include:
          - ruby: "2.6"
            coverage: "true"
          - runtime_deps: "dry-types-master"
            dry_types_from_master: "true"
    steps:
      - uses: actions/checkout@v1
      - name: Set up Ruby
        uses: eregon/use-ruby-action@master
        with:
          ruby-version: ${{matrix.ruby}}
      - name: Install latest bundler
        run: |
          gem install bundler
          bundle config set without 'tools benchmarks docs'
      - name: Bundle install
        run: bundle install --jobs 4 --retry 3
        env:
          DRY_TYPES_FROM_MASTER: ${{matrix.dry_types_from_master}}
      - name: Run all tests
        env:
          DRY_TYPES_FROM_MASTER: ${{matrix.dry_types_from_master}}
          COVERAGE: ${{matrix.coverage}}
          CODACY_RUN_LOCAL: true
          CODACY_PROJECT_TOKEN: ${{secrets.CODACY_PROJECT_TOKEN}}
        run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-initializer-3.0.3 .github/workflows/custom_ci.yml