Sha256: fe84975a65569d2492a9b8013593061932c66d5c017712347e8891946d236e90

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

# Download the latest Ruby patch versions, install dependencies, and run tests.
name: test
on:
  push:
    paths-ignore:
      - '**.md'
      - '**.txt'
jobs:
  test:
    environment: staging
    runs-on: ubuntu-latest
    name: Ruby ${{ matrix.ruby-version }}
    strategy:
      matrix:
        ruby-version: [2.5, 2.6, 2.7, '3.0']
    steps:
    - name: Checkout code
      uses: actions/checkout@v2
    - name: Set up Ruby ${{ matrix.ruby-version }}
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true # 'bundle install' and cache
    - name: Run tests
      env:
        GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}
      run: bundle exec rake
    - name: Send Code Climate coverage
      uses: aktions/codeclimate-test-reporter@v1
      with:
        codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
        command: after-build --coverage-input-type lcov
    - name: Send Coveralls coverage
      uses: coverallsapp/github-action@master
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
    - name: Run RuboCop
      run: bundle exec rubocop
    - name: Run Inch
      run: bundle exec inch --pedantic

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
google_maps_geocoder-0.7.10 .github/workflows/test.yml
google_maps_geocoder-0.7.9 .github/workflows/test.yml
google_maps_geocoder-0.7.8 .github/workflows/test.yml
google_maps_geocoder-0.7.7 .github/workflows/test.yml
google_maps_geocoder-0.7.6 .github/workflows/test.yml