Sha256: 637764279e259a4e343e66dfc5523bb70a9ae492434d41cad58e076ee0fb6c20

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 KB

Contents

name: CI

on: [push, pull_request, workflow_dispatch]

jobs:
  tests:
    name: Tests with Ruby ${{ matrix.ruby-version }} and Rails ${{ matrix.gemfile }}
    runs-on: ubuntu-latest
    strategy:
      matrix:
        gemfile: ["5.0"]
        ruby-version: [2.6]
        include:
          - gemfile: "5.0"
            ruby-version: 2.7
          - gemfile: "5.1"
            ruby-version: 2.6
          - gemfile: "5.1"
            ruby-version: 2.7
          - gemfile: "5.2"
            ruby-version: 2.6
          - gemfile: "5.2"
            ruby-version: 2.7
          - gemfile: "6.0"
            ruby-version: 2.6
          - gemfile: "6.0"
            ruby-version: 2.7
          - gemfile: "6.1"
            ruby-version: 2.7
          - gemfile: "6.1"
            ruby-version: 3.0
          - gemfile: "7.0"
            ruby-version: 3.0

    env:
      BUNDLE_GEMFILE: /home/runner/work/wicked_pdf/wicked_pdf/gemfiles/${{ matrix.gemfile }}.gemfile
      WKHTMLTOPDF_BIN: /usr/bin/wkhtmltopdf

    steps:
      - uses: actions/checkout@v2

      - name: Install Ruby ${{ matrix.ruby-version }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby-version }}

      - name: Install OS dependencies
        run: |
          sudo apt-get update -y -qq
          sudo apt-get install -y wkhtmltopdf

      - name: Install gem dependencies
        run: bundle install

      - name: Run tests with Ruby ${{ matrix.ruby-version }} and Rails ${{ matrix.gemfile }}
        run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wicked_pdf-2.6.0 .github/workflows/ci.yml