Sha256: d44d814d7ccef1c9d1f4b447bbe6cae16671b65f8f9bed3edb4791b00d4b887b

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 Bytes

Contents

name: build

on: [pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby: ['2.4', '2.5', '2.6', '2.7']
        include:
          - ruby: '2.7'
            report-coverage: true
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - run: gem install bundler
    - run: bundle install -j4
    - name: Run tests and report test coverage
      if: matrix.report-coverage
      uses: paambaati/codeclimate-action@v2.4.0
      env:
        CC_TEST_REPORTER_ID: 309cf0784d00d2a6009566d28be111a8a0280cdeb2da280225eedf577b16beb5
      with:
        coverageCommand: bundle exec rake
    - name: Run tests
      if: "!matrix.report-coverage"
      env:
        TZ: Asia/Tokyo
      run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hatenablog-0.7.0 .github/workflows/build.yml