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 19, 2021
1 parent 1508a66 commit c81bb68
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 38 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 @@ -74,6 +80,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 @@ -94,6 +102,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 @@ -110,6 +120,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 @@ -129,6 +141,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 @@ -152,6 +166,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 @@ -171,6 +187,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 All @@ -197,6 +215,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 @@ -219,6 +239,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 @@ -44,6 +46,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 @@ -63,6 +67,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 @@ -81,6 +87,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 @@ -106,6 +114,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 @@ -126,6 +136,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 @@ -144,6 +156,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 @@ -181,6 +195,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 @@ -197,6 +213,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@ucrt
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 @@ -118,6 +126,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
38 changes: 0 additions & 38 deletions nokogumbo-import/appveyor.yml

This file was deleted.

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 c81bb68

Please sign in to comment.