Sha256: 5aab7160164821a99c2220533cf9869568440d3c8d4b1d550dd478e6915276e1

Contents?: true

Size: 1.15 KB

Versions: 10

Compression:

Stored size: 1.15 KB

Contents

name: Test
on:
  push:
    branches:
      - '**'
  schedule:
    - cron: '0 0 * * MON'

concurrency:
  group: '${{ github.ref }}'
  cancel-in-progress: true

jobs:
  test:
    name: 'Test the gem (Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }})'
    runs-on: ubuntu-22.04
    timeout-minutes: 5
    strategy:
      fail-fast: false
      matrix:
        ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
        rails: ['6.1', '7.1']
    env:
      BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
    steps:
      - uses: actions/checkout@v4

      - name: Install the correct Ruby version
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
          rubygems: '3.4.22'

      - name: Prepare the virtual environment
        uses: hausgold/actions/ci@master
        with:
          clone_token: '${{ secrets.CLONE_TOKEN }}'
          settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
          settings: '${{ github.repository }}'
          target: ci/gem-test

      - name: Run the gem tests
        run: make test

      - name: Upload the code coverage report
        run: coverage

Version data entries

10 entries across 10 versions & 10 rubygems

Version Path
immoscout-1.9.0 .github/workflows/test.yml
factory_bot_instrumentation-1.7.0 .github/workflows/test.yml
conversejs-3.10.0 .github/workflows/test.yml
pricehubble-1.6.0 .github/workflows/test.yml
rimless-1.11.0 .github/workflows/test.yml
keyless-1.7.0 .github/workflows/test.yml
grape-jwt-authentication-2.8.0 .github/workflows/test.yml
billomat-1.5.0 .github/workflows/test.yml
countless-1.5.0 .github/workflows/test.yml
jabber_admin-1.6.0 .github/workflows/test.yml