Skip to content

Commit

Permalink
ci: submodule @stevecheckoway's fork of html5lib-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jun 17, 2021
1 parent 37adb20 commit 5f9ea96
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
image: flavorjones/nokogiri-test:mri-3.0
steps:
- uses: actions/checkout@v2
with:
submodules: true
- run: bundle install --local || bundle install
- run: bundle exec rake rubocop

Expand All @@ -37,6 +39,8 @@ jobs:
image: flavorjones/nokogiri-test:${{matrix.image}}
steps:
- uses: actions/checkout@v1 # v1 because of https://github.com/actions/checkout/issues/334
with:
submodules: true
- run: bundle install --local || bundle install
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
- run: bundle exec rake test
Expand All @@ -53,6 +57,8 @@ jobs:
image: flavorjones/nokogiri-test:mri-${{matrix.ruby}}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/cache@v2
if: matrix.sys == 'disable'
with:
Expand All @@ -75,6 +81,8 @@ jobs:
image: flavorjones/nokogiri-test:mri-${{matrix.ruby}}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/cache@v2
if: matrix.sys == 'disable'
with:
Expand All @@ -96,6 +104,8 @@ jobs:
image: flavorjones/nokogiri-test:alpine
steps:
- uses: actions/checkout@v1 # v1 because of https://github.com/actions/checkout/issues/334
with:
submodules: true
# skip cache because of https://github.com/actions/checkout/issues/334
- run: bundle install --local || bundle install
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
Expand All @@ -112,6 +122,8 @@ jobs:
image: flavorjones/nokogiri-test:alpine
steps:
- uses: actions/checkout@v1 # v1 because of https://github.com/actions/checkout/issues/334
with:
submodules: true
# skip cache because of https://github.com/actions/checkout/issues/334
- run: bundle install --local || bundle install
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
Expand All @@ -131,6 +143,8 @@ jobs:
image: flavorjones/nokogiri-test:mri-${{matrix.ruby}}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/cache@v2
if: matrix.sys == 'disable'
with:
Expand All @@ -155,6 +169,8 @@ jobs:
image: flavorjones/nokogiri-test:mri-${{matrix.ruby}}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/cache@v2
if: matrix.sys == 'disable'
with:
Expand All @@ -175,6 +191,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
Expand Down Expand Up @@ -202,6 +220,8 @@ jobs:
git config --system core.autocrlf false
git config --system core.eol lf
- uses: actions/checkout@v2
with:
submodules: true
- uses: MSP-Greg/setup-ruby-pkgs@v1
with:
ruby-version: "${{matrix.ruby}}"
Expand All @@ -225,6 +245,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/gem-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
image: "larskanis/rake-compiler-dock-mri-x86_64-linux:1.1.0"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/cache@v2
with:
path: ports/archives
Expand All @@ -45,6 +47,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: MSP-Greg/setup-ruby-pkgs@v1
with:
ruby-version: "${{matrix.ruby}}"
Expand All @@ -64,6 +68,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
Expand All @@ -82,6 +88,8 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: MSP-Greg/setup-ruby-pkgs@v1
with:
ruby-version: "3.0"
Expand All @@ -107,6 +115,8 @@ jobs:
image: "larskanis/rake-compiler-dock-mri-${{matrix.plat}}:1.1.0"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/cache@v2
with:
path: ports/archives
Expand All @@ -128,6 +138,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{matrix.ruby}}"
Expand All @@ -146,6 +158,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{matrix.ruby}}"
Expand Down Expand Up @@ -183,6 +197,8 @@ jobs:
image: "larskanis/rake-compiler-dock-jruby:1.1.0"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- run: ./scripts/test-gem-build gems java
- uses: actions/upload-artifact@v2
with:
Expand All @@ -199,6 +215,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{matrix.ruby}}"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/truffle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
image: flavorjones/nokogiri-test:truffle-nightly
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/cache@v2
with:
path: ports/archives
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
image: flavorjones/nokogiri-test:mri-3.0
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup libxml2
run: |
git clone --depth=1 https://gitlab.gnome.org/GNOME/libxml2
Expand All @@ -47,6 +49,8 @@ jobs:
image: flavorjones/nokogiri-test:mri-3.0
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup libxml2
run: |
git clone --depth=1 https://gitlab.gnome.org/GNOME/libxml2
Expand Down Expand Up @@ -77,6 +81,8 @@ jobs:
git config --system core.autocrlf false
git config --system core.eol lf
- uses: actions/checkout@v2
with:
submodules: true
- uses: MSP-Greg/setup-ruby-pkgs@v1
with:
ruby-version: "head"
Expand All @@ -101,6 +107,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: MSP-Greg/setup-ruby-pkgs@v1
with:
ruby-version: "head"
Expand All @@ -119,6 +127,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: "jruby-head"
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "test/html5lib-tests"]
path = test/html5lib-tests
url = https://github.com/stevecheckoway/html5lib-tests.git
branch = all-error-fixes
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ install:
- ruby --version
- gem --version
- gem install bundler --conservative
- git submodule update --init
- bundle config --local path vendor/bundle
- bundle install
- IF DEFINED INSTALL_PACKAGES ( ridk exec pacman --noconfirm --needed --sync %INSTALL_PACKAGES% )
Expand Down
1 change: 1 addition & 0 deletions rakelib/check-manifest.rake
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ task :check_manifest do
.cross_rubies
.editorconfig
.gitignore
.gitmodules
.yardopts
CHANGELOG.md
CODE_OF_CONDUCT.md
Expand Down
1 change: 1 addition & 0 deletions test/html5lib-tests
Submodule html5lib-tests added at e379d7

0 comments on commit 5f9ea96

Please sign in to comment.