Skip to content

libxml2 Compatibility #8

libxml2 Compatibility

libxml2 Compatibility #8

Workflow file for this run

name: libxml2 Compatibility
on:
workflow_dispatch:
schedule:
# Run weekly on Sundays at midnight UTC
- cron: '0 0 * * 0'
env:
CARGO_TERM_COLOR: always
jobs:
compat:
name: libxml2 regression suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Download libxml2 test data
run: ./scripts/download-libxml2-tests.sh
- name: Run compatibility tests
run: cargo test --test libxml2_compat -- --nocapture
html5lib:
name: html5lib-tests suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Download html5lib-tests
run: ./scripts/download-html5lib-tests.sh
- name: Run tokenizer tests (7032 tests)
run: cargo test --test html5lib_tokenizer -- --nocapture
- name: Run tree construction tests (1778 tests)
run: cargo test --test html5lib_tree_construction -- --nocapture