Sha256: 2e91ea5cbf73ec01f73808edf42fbcf80a501d760824fbdeedb647ca5c5c5aa2

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 KB

Contents

name: TestWin

on: [push]

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

2 entries across 2 versions & 1 rubygems

Version Path
review-5.1.1 .github/workflows/ruby-win.yml
review-5.1.0 .github/workflows/ruby-win.yml