forked from jonwiggins/xmloxide
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 1.07 KB
/
Copy pathcompat.yml
File metadata and controls
42 lines (33 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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