Sha256: 2d07b3c2a151b8c34afa5d3fde2e1f0836df77f7f7a14638471179f326ef148e

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

name: Test workflow

on: [push, pull_request]

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest]
        ruby:
          - '2.5'
          - '2.6'
          - '2.7'
          - '3.0'
          - '3.1'
        rails:
          - '~> 4.1'
          - '~> 5.2'
          - '~> 6.0.0'
          - '~> 6.1'
          - '~> 7.0.0'
        exclude:
          - ruby: '2.5'
            rails: '~> 7.0.0'
          - ruby: '2.6'
            rails: '~> 7.0.0'
          - ruby: '2.7'
            rails: '~> 4.1'
          - ruby: '3.0'
            rails: '~> 4.1'
          - ruby: '3.0'
            rails: '~> 5.2'
          - ruby: '3.1'
            rails: '~> 4.1'
          - ruby: '3.1'
            rails: '~> 5.2'
          - ruby: '3.1'
            rails: '~> 6.0.0'
    runs-on: ${{ matrix.os }}
    env:
      RAILS_VERSION: ${{ matrix.rails }}
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        rubygems: latest
        bundler: latest
        bundler-cache: true

    - name: Setup wkhtmltopdf
      run: |
        sudo apt-get install -y xfonts-base xfonts-75dpi
        wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb
        sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb

    - name: Run tests
      run: bundle exec rake

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pdfkit-0.8.7.2 .github/workflows/test.yml
pdfkit-0.8.7.1 .github/workflows/test.yml
pdfkit-0.8.7 .github/workflows/test.yml
pdfkit-0.8.6 .github/workflows/test.yml