-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
347 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: TestWin | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [ '2.6.x', '2.5.x', '2.4.x' ] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Ruby | ||
uses: actions/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: Test with epubcheck-ruby | ||
shell: bash | ||
run: | | ||
gem install -N epubcheck-ruby | ||
ruby bin/review-init hello | ||
cd hello | ||
ruby ../bin/review-epubmaker config.yml | ||
epubcheck book.epub | ||
cd .. | ||
ruby bin/review-init hello2 --epub-version 2 | ||
cd hello2 | ||
ruby ../bin/review-epubmaker config.yml | ||
epubcheck book.epub | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.