mirror of
https://github.com/curl/curl.git
synced 2026-08-24 16:23:34 +03:00
tests/data: mark non-XML-compliant files as such, xmllint the rest in CI
There are 58 non-compliant files. Mark them with the `notxml` keyword. Also include the compliant ones in the GHA/checksrc xmllint CI job. Also: - delete XML prolog from the 3 test data files that had them. - FILEFORMAT.md: document the `notxml` keyword. - FILEFORMAT.md: fix a typo. Follow-up tode49cc89ab#19470 Follow-up tof3095f0dbd#19528 Follow-up to87ba80a6dfCloses #19595
This commit is contained in:
parent
36d0f12881
commit
7f3731ce14
64 changed files with 71 additions and 5 deletions
6
.github/workflows/checksrc.yml
vendored
6
.github/workflows/checksrc.yml
vendored
|
|
@ -128,7 +128,11 @@ jobs:
|
|||
persist-credentials: false
|
||||
|
||||
- name: 'check'
|
||||
run: git grep -z -i -l -E '^<\?xml' | xargs -0 -r xmllint >/dev/null
|
||||
run: |
|
||||
{
|
||||
git grep -z -i -l -E '^<\?xml' || true
|
||||
git grep -z -L -F 'notxml' 'tests/data/test*' || true
|
||||
} | xargs -0 -r xmllint >/dev/null
|
||||
|
||||
miscchecks:
|
||||
name: 'misc checks'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue