Sha256: 5c7a9becb3c659fa0e2cb53f3a79438715db9bc3ac88ffc9f7bc5c6369e3b29e

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

name: CI

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  test:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version: ['3.0']

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
    # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
    # change this to (see https://github.com/ruby/setup-ruby#versioning):
    # uses: ruby/setup-ruby@v1
      uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
    - name: Compile native extensions
      run: bundle exec rake clobber compile
    - name: Run tests
      run: bundle exec rake spec
    - name: Send coverage to Code Climate
      uses: paambaati/codeclimate-action@v3.0.0
      env:
        CC_TEST_REPORTER_ID: d0322d03bc26065103175fa5645703aa1a62483b3dde9fe8f2d880d76f2241e0
      with:
        coverageLocations: ${{github.workspace}}/coverage/coverage.json:simplecov
        coverageCommand: bundle exec rake coverage

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dijkstra_fast-1.5.3 .github/workflows/ci.yml