Sha256: 4fb4d2cf240f9de6d4c8c9e0a9e80bca1df3de3afb7ca17eb8ba6c33d3cffaad

Contents?: true

Size: 1.23 KB

Versions: 4

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.7', '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

4 entries across 4 versions & 1 rubygems

Version Path
review-5.6.0 .github/workflows/ruby-win.yml
review-5.5.0 .github/workflows/ruby-win.yml
review-5.4.0 .github/workflows/ruby-win.yml
review-5.3.0 .github/workflows/ruby-win.yml