Sha256: 5a1842506b21f1fe21da343d1f81e2ddaf1b4f374aedddae843dedf1959c59e1

Contents?: true

Size: 955 Bytes

Versions: 8

Compression:

Stored size: 955 Bytes

Contents

name: Ruby
on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main
jobs:
  build:
    runs-on: ubuntu-latest
    env:
      RAILS_ENV: test
      CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
      BUNDLE_GEMFILE: ${{ matrix.gemfile }}
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - "3.2"
        gemfile:
          - Gemfile
          - gemfiles/rails-7.0.gemfile
          - gemfiles/rails-7.1.gemfile
          - gemfiles/rails-edge.gemfile
    name: Ruby ${{ matrix.ruby }} ${{ matrix.gemfile }}
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3
      - name: Set up Ruby ${{ matrix.ruby }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - name: Run test cases
        run: bundle exec rake
      - name: Publish code coverage
        uses: paambaati/codeclimate-action@v5.0.0

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
unit_measurements-rails-1.6.0 .github/workflows/main.yml
unit_measurements-rails-1.5.0 .github/workflows/main.yml
unit_measurements-rails-1.4.0 .github/workflows/main.yml
unit_measurements-rails-1.3.0 .github/workflows/main.yml
unit_measurements-rails-1.2.0 .github/workflows/main.yml
unit_measurements-rails-1.1.0 .github/workflows/main.yml
unit_measurements-rails-1.0.0 .github/workflows/main.yml
unit_measurements-rails-0.2.0 .github/workflows/main.yml