Sha256: 1260edf49f8579205e0d03fdcb7c66a2c283bc07f33956bde7ed91666116ba9c

Contents?: true

Size: 989 Bytes

Versions: 2

Compression:

Stored size: 989 Bytes

Contents

name: Test

on: [push, pull_request]

jobs:
  setup:
    name: Ruby ${{ matrix.ruby }}

    runs-on: ubuntu-latest

    # Run this build only on either pull request or push.
    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

    strategy:
      matrix:
        ruby:
          - "2.7"
          - "3.0"
          - "3.1"
          - "3.2"

    steps:
      - uses: actions/checkout@v4

      - uses: hidakatsuya/action-setup-diff-pdf@v1
        with:
          diff-pdf-version: "0.5"

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

      - name: Run tests for main
        run: bundle exec rake test:main

      - name: Run tests for basic report
        run: xvfb-run -a bundle exec rake test:basic_report

      - name: Run tests for section report
        run: xvfb-run -a bundle exec rake test:section_report

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thinreports-0.13.1 .github/workflows/test.yml
thinreports-0.13.0 .github/workflows/test.yml