Sha256: 4964c71d19d01f33159276405fb8d00804f3bb1654a4195b613a7e083f8f49f2

Contents?: true

Size: 941 Bytes

Versions: 2

Compression:

Stored size: 941 Bytes

Contents

name: Test

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main
  schedule:
    - cron: "0 0 * * *"
  workflow_call:

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest]
        ruby: ["2.6", "2.7", "3.0", "3.1"]
        gemfile: # These are duplicated from the test/gemfiles folder
          - activesupport-4
          - activesupport-5
          - minitest-4
          - minitest-5
          - plain-ruby
          - rspec-1
          - rspec-2
          - rspec-3
          - test-unit-2
          - test-unit-3

    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v3

      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: false

      - name: Run test scenarios
        run: |
          ./test-gemfile test/gemfiles/${{ matrix.gemfile }}
        shell: bash

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
multi_test-1.1.0 .github/workflows/test-ruby.yml
multi_test-1.0.0 .github/workflows/test-ruby.yml