From ca05768ecac6a298a79ad5bdcc06d56b7adcf11d Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Fri, 9 Jul 2021 12:25:53 -0400 Subject: [PATCH] ci(upstream): run against latest html5lib-tests master --- .github/workflows/upstream.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index 1053225648..91b5b17cb7 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -134,3 +134,25 @@ jobs: bundler-cache: true - run: bundle exec rake compile - run: bundle exec rake test + + html5lib-tests: + runs-on: ubuntu-latest + container: + image: flavorjones/nokogiri-test:mri-3.0 + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - uses: actions/cache@v2 + with: + path: ports + key: ports-ubuntu-${{hashFiles('**/dependencies.yml')}} + - name: Update html5lib-tests + run: | + cd test/html5lib-tests + git remote update origin + git checkout origin/master + git log --pretty=oneline -n1 + - run: bundle install --local || bundle install + - run: bundle exec rake compile -- --disable-system-libraries + - run: bundle exec rake test