Sha256: f5c87e94c2c0da7b8777204e8d83978fe931d0d0118635e11b5100f4a6efcb8d

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

name: TestWin

on:
  push:
    branches:
    - master
  pull_request:

jobs:
  build:

    runs-on: windows-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '3.0', '2.6', '2.5', '2.4' ]

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - name: Build and test with Rake
      shell: bash
      run: |
        gem install bundler --no-document
        bundle install --retry 3
        bundle exec ruby test/run_test.rb --max-diff-target-string-size=10000 --verbose=v
    - name: install Re:VIEW and epubcheck-ruby
      shell: bash
      run: |
        gem install -N epubcheck-ruby
        rake install
    - name: Test with epubcheck-ruby
      shell: bash
      run: |
        review-init hello
        cd hello
        ruby -e 'Dir.glob("*.re"){|path| File.write(path, File.read(path).gsub("=", "= foo")) }'
        review-epubmaker config.yml
        epubcheck book.epub
        cd ..
        review-init hello2 --epub-version 2
        cd hello2
        ruby -e 'Dir.glob("*.re"){|path| File.write(path, File.read(path).gsub("=", "= foo")) }'
        review-epubmaker config.yml
        epubcheck book.epub
        cd ..

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
review-5.2.0 .github/workflows/ruby-win.yml