Skip to content

Commit ca05768

Browse files
committed
ci(upstream): run against latest html5lib-tests master
1 parent ab6c3e4 commit ca05768

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/upstream.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,25 @@ jobs:
134134
bundler-cache: true
135135
- run: bundle exec rake compile
136136
- run: bundle exec rake test
137+
138+
html5lib-tests:
139+
runs-on: ubuntu-latest
140+
container:
141+
image: flavorjones/nokogiri-test:mri-3.0
142+
steps:
143+
- uses: actions/checkout@v2
144+
with:
145+
submodules: true
146+
- uses: actions/cache@v2
147+
with:
148+
path: ports
149+
key: ports-ubuntu-${{hashFiles('**/dependencies.yml')}}
150+
- name: Update html5lib-tests
151+
run: |
152+
cd test/html5lib-tests
153+
git remote update origin
154+
git checkout origin/master
155+
git log --pretty=oneline -n1
156+
- run: bundle install --local || bundle install
157+
- run: bundle exec rake compile -- --disable-system-libraries
158+
- run: bundle exec rake test

0 commit comments

Comments
 (0)